{
  "schemaVersion": "1",
  "revision": "22ce5d34dbcb5a78",
  "id": "codex-context-packing-practice",
  "slug": "context-packing-practice",
  "title": "Context packing with Oracle and PackX: practice drills",
  "summary": "Six exercises cover explicit oracle-packx invocation, evidence mapping, raw-versus-compact evidence decisions, improving vague requests, gating follow-up Oracle calls with a prior-state ledger, and inspecting the published skill's safeguards.",
  "category": "Context",
  "tags": [
    "oracle",
    "packx",
    "practice"
  ],
  "sources": [
    {
      "label": "Portable Codex workflow resources",
      "url": "https://lapis-fossil-vsbc.here.now/downloads/codex-power-user-workshop-2026-06-27.bundle"
    }
  ],
  "sourceUnits": [
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context/Exercise 1: Write A Skill Invocation",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context/Exercise 2: Identify Evidence",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context/Exercise 3: Decide What Should Be Compact Evidence",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context/Exercise 4: Review A Bad Prompt",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context/Exercise 5: Plan A Follow-Up Oracle Call",
    "downloads/codex-power-user-workshop-2026-06-27.bundle!/exercises/01-oracle-packing-context.md#Exercises: 01. Oracle / Packing Context/Exercise 6: Inspect The Skill",
    "downloads/codex-power-user-workshop-2026-06-27.bundle"
  ],
  "collection": "codex",
  "categoryId": "context",
  "wordCount": 462,
  "url": "/topics/codex-context-packing-practice/",
  "markdownUrl": "/markdown/codex-context-packing-practice.md?raw=1&v=22ce5d34dbcb5a78",
  "jsonUrl": "/api/v1/documents/codex-context-packing-practice.json",
  "headings": [
    {
      "id": "exercise-1-write-a-skill-invocation",
      "text": "Exercise 1: Write A Skill Invocation",
      "level": 2
    },
    {
      "id": "exercise-2-identify-evidence",
      "text": "Exercise 2: Identify Evidence",
      "level": 2
    },
    {
      "id": "exercise-3-decide-what-should-be-compact-evidence",
      "text": "Exercise 3: Decide What Should Be Compact Evidence",
      "level": 2
    },
    {
      "id": "exercise-4-review-a-bad-prompt",
      "text": "Exercise 4: Review A Bad Prompt",
      "level": 2
    },
    {
      "id": "exercise-5-plan-a-follow-up-oracle-call",
      "text": "Exercise 5: Plan A Follow-Up Oracle Call",
      "level": 2
    },
    {
      "id": "exercise-6-inspect-the-skill",
      "text": "Exercise 6: Inspect The Skill",
      "level": 2
    },
    {
      "id": "related-resources",
      "text": "Related resources",
      "level": 2
    }
  ],
  "markdown": "# Context packing with Oracle and PackX: practice drills\n\nThese exercises practice asking for the `oracle-packx` skill clearly. They do not require team members to memorize PackX or Oracle command syntax.\n\n## Exercise 1: Write A Skill Invocation\n\nPick a real software project, feature, or bug.\n\nWrite a prompt that starts with:\n\n```text\nUse the oracle-packx skill.\n```\n\nInclude:\n\n- desired software outcome\n- feature/module/subsystem in scope\n- source paths that probably matter\n- tests or logs that probably matter\n- docs or provider references that probably matter\n- files or areas to exclude\n- how you will know the answer is useful\n\nTemplate:\n\n```text\nUse the oracle-packx skill.\n\nI want to:\n\nRelevant code is probably in:\n\nRelevant tests/logs/docs are probably:\n\nExclude:\n\nAsk Oracle for:\n\nI will know this worked if:\n```\n\n## Exercise 2: Identify Evidence\n\nFor the same project, list what should go into the context packet.\n\n```markdown\n# Evidence Map\n\n## Source\n\n- path:\n- why it matters:\n\n## Tests\n\n- path:\n- why it matters:\n\n## Logs Or Failures\n\n- path:\n- why it matters:\n\n## Docs Or External Contracts\n\n- path or URL:\n- why it matters:\n\n## Out Of Scope\n\n- path/topic:\n- why excluded:\n```\n\n## Exercise 3: Decide What Should Be Compact Evidence\n\nSome material is useful but should not be packed raw.\n\nMark each item as `pack raw`, `summarize`, or `exclude`:\n\n```markdown\n# Compact Evidence Decisions\n\n- 30,000-line CI log:\n- screenshot of broken UI:\n- `.env.local`:\n- payment provider API docs:\n- one failing test output:\n- previous Oracle output:\n- entire session history:\n- generated build directory:\n```\n\n## Exercise 4: Review A Bad Prompt\n\nBad:\n\n```text\nUse Oracle to review my repo and tell me what to do.\n```\n\nRewrite it so the `oracle-packx` skill has enough direction:\n\n```text\nUse the oracle-packx skill.\n\n...\n```\n\nMake sure your rewrite includes:\n\n- exact project area\n- expected outcome\n- likely evidence\n- exclusions\n- what Oracle should return\n- how local work will be confirmed\n\n## Exercise 5: Plan A Follow-Up Oracle Call\n\nA second Oracle call should not repeat the same broad question.\n\nFill this out before asking again:\n\n```text\nPrior-State Ledger:\n- prior_oracle_session:\n- last_oracle_recommendation:\n- implemented_since_prior_oracle:\n- verified_since_prior_oracle:\n- failed_proof_or_blocker:\n- narrowing_decision:\n- files_functions_now_in_scope:\n- files_functions_out_of_scope:\n- next_falsifiable_verification:\n- forward_progress_index:\n```\n\nDecide which condition is true:\n\n```text\nimplemented:\nverified:\nblocked:\nnarrowed:\n```\n\nIf none are true, do local work before another Oracle run.\n\n## Exercise 6: Inspect The Skill\n\nOpen:\n\n```text\nskills/oracle-packx/SKILL.md\n```\n\nFind the sections that define:\n\n- runtime mode\n- PackX pipeline\n- compact evidence\n- `output.log`\n- follow-up call requirements\n- completion checklist\n\nWrite one sentence about what each section protects you from.\n\n## Related resources\n\n- [Companion reference](https://lapis-fossil-vsbc.here.now/downloads/codex-power-user-workshop-2026-06-27.bundle)\n- [Resource directory and portable download](/topics/codex-resources/)"
}
