Agentpack Refresh

Refresh AgentPack context when task, git state, or repo files changed.

vishal2612200 Updated

File contents

AgentPack Refresh

Use when the user invokes $agentpack-refresh, context looks stale, or task/git state changed.

Steps

  1. Run the portable refresh path:
agentpack pack --agent codex --task auto
  1. If the task changed, update it first:
agentpack task set "<task>"
agentpack pack --agent codex --task auto
  1. Read .agentpack/context.md after refresh.
  2. Warn if context still appears stale or task text does not match.
  3. Treat the pack as a map, not proof of correctness.

Prefer AgentPack MCP refresh/get-context behavior when available.

vishal2612200/agentpack/tree/main/src/agentpack/data/codex_plugin/skills/agentpack-refresh commit 2c6c161169

Frequently asked questions

npx skillmds@latest add vishal2612200/agentpack-refresh