Shipflow Context
Agent Buildingshipflow-contextShipflow Context is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Prime context for a task — calls context_continue + context_retrieve to find relevant files before starting work. Minimizes token usage by reusing cached context and only reading what's needed.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/context-management/shipflow-context/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/shipflow-context, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Context
- Current directory: !
pwd - Project name: !
basename $(pwd)
Your task
Prime the session context before starting work. This avoids wasting tokens on broad file exploration.
Step 1 — Check session memory
Call context_continue with the user's task as the query ($ARGUMENTS).
Read the response carefully:
- Files already in memory: do NOT re-read these — use their previews
- Decisions already stored: incorporate these into your plan
- Budget remaining: note how much read budget is left this turn
Step 2 — Retrieve relevant files
If context_continue shows no prior memory OR the task needs more files, call context_retrieve with $ARGUMENTS as the query.
Read the ranked file list. Pick the top 3-5 most relevant files only.
Step 3 — Read only what you need
For each file you actually need to understand:
- Use
context_readwith the query set to$ARGUMENTS(enables smart excerpting) - Skip files where the
context_continuepreview is already sufficient - Stop reading when budget drops below 4,000 chars
Step 4 — Report and plan
Output a concise summary:
## Ready to work on: [task]
**Files in context:**
- [file] — [one line on what's relevant]
**Key constraints/decisions:**
- [any stored decisions relevant to this task]
**Plan:**
1. [step]
2. [step]
**Budget used:** X / 18,000 chars
Then ask: "Shall I proceed?"
Rules
- Do NOT read files not returned by
context_retrieveorcontext_continue - Do NOT do Glob/Grep before Steps 1 and 2
- Do NOT read more than 5 files in this priming phase
- If the task mentions a specific file path, add it to the read list regardless of retrieve results
- If
$ARGUMENTSis empty, ask the user: "What do you want to work on?" before proceeding