Individual skill

atlas-ops-json-solver

Solve Atlas Commerce Operations workplace tasks that require using TASK_ENV_BASE_URL, /api/schema, /api/data-dictionary, /api/sql, or documented controlled correction endpoints to produce an exact answer.json matching input/payloads/answer_template.json. Use for operational analytics, settlement reconciliation, fulfillment scorecards, warehouse productivity reviews, support-health reviews, and narrowly authorized data-quality corrections against the Atlas task service.

experiments/codex_skill_creator_comparison_gpt5_5_xhigh/reports/skills/task_group_022/fewshot/opencode/fewshot_attempt_03/SKILL.md

Read pinned source

Source commit 5082a777379156a048881e94940d640702e5e09a

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
121
Repository last updated
Oct 29, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Atlas Ops JSON Solver

Use this skill when a task asks for an exact JSON answer from the Atlas Commerce Operations workplace service. The common pattern is: read the local prompt, request payload, and answer template; discover the live schema; compute the requested business metrics with SQL; validate the JSON contract; write only `answer.json`.

## Workflow

1. Read the task prompt, every file under `input/payloads/`, and especially `input/payloads/answer_template.json`. Treat the template as the output contract: required keys, no extra keys, exact nesting, ordering requirements, rounding, enum values, and array uniqueness.
2. Resolve the task environment base URL from the prompt, environment variables, or any provided environment-access file. Use that file only for connection details such as base URL and auth. Do not inspect server source, evaluator code, test answers, or unrelated task material.
3. Fetch the live schema and data dictionary before writing SQL. Use the bundled client at [scripts/atlas_api.py](scripts/atlas_api.py). From the task workspace, run it with the path to this skill directory:
   - `python <skill_dir>/scripts/atlas_api.py schema`
   - `python <skill_dir>/scripts/atlas_api.py dictionary`
   - `python <skill_dir>/scripts/atlas_api.py sql path/to/query.sql`
4. Translate the request payload into a cohort query before calculating metrics. Keep the cohort in a CTE with one row per business entity in the denominator, such as order, shipment, task, case, refund, or account. Apply production flags, account/warehouse/region/campaign filters, inclusive or strict timestamp boundaries, and cutoff semantics exactly as stated.
5. Build metric CTEs from the cohort. Prefer explicit `COUNT(DISTINCT ...)`, `EXISTS`/`NOT EXISTS`, window functions, and grouped rollups over manual sampling. Avoid row multiplication when joining one-to-many tables such as shipments, scans, refunds, reversals, events, tasks, or cases.
Back to top