agentpack — Claude Code and Codex plugin: ranked repo context
agentpack gives your agent a task-shaped map of the repo — likely files, rules, skills and warnings — before it touches the code.
AGPL-3.0-only ★ 1,596 updated 2026-10-29
/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install agentpack@awesome-codex-pluginsWhat agentpack does
Before an edit, the agent receives a small pack built around the current task: files and tests that look relevant, repository rules, matching skills, handy commands and warnings. Ranking starts from the repo as it stands right now, not from what scrolled by in the chat.
The actual work runs through the CLI. A normal round is agentpack work "<task>", then agentpack finish and agentpack doctor; learn is an optional step you take after the delivery checks. Task state, context freshness and token limits stay on your machine, so the next session resumes instead of rebuilding everything.
A local dashboard splits project state into Overview, Roadmap, Work, Health and Knowledge views, and selection receipts spell out why a file made the cut or did not. AgentPack does not write the code for the agent and does not vouch for correctness. The plugin itself is thin: the ranking lives in the AgentPack CLI, so that is the piece you install and run.
What it helps with
- feed the agent the files and tests most likely to matter
- show why one file was picked over another
- keep the starting context inside a token budget
- carry task state into the next session
- get a warning when two sessions share one worktree
Example prompts for the agent
- Build the context pack for
agentpack work "fix retry logic in the client"and list which files landed in it. - Run
agentpack doctorand walk me through the warnings. - Close the task with
agentpack finishand summarise what still needs checking.
How to install agentpack
Plugin marketplace
/plugin marketplace add hashgraph-online/awesome-codex-plugins/plugin install agentpack@awesome-codex-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about agentpack
How do I install agentpack in Claude Code?
From the marketplace: first /plugin marketplace add hashgraph-online/awesome-codex-plugins, then /plugin install agentpack@awesome-codex-plugins.
What does agentpack do?
It ranks repository context for the task at hand and hands it to the agent: files, tests, rules, skills and warnings. Task and session state stay local.
Do I need the AgentPack CLI as well?
Yes. The plugin is a thin wrapper; ranking, the dashboard and session state come from the AgentPack CLI, and the loop runs through agentpack work, agentpack finish and agentpack doctor.