# Agentpack Refresh

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

- Skill: `vishal2612200/agentpack-refresh` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add vishal2612200/agentpack-refresh`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vishal2612200/agentpack-refresh/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- License: AGPL-3.0-only
- Author: vishal2612200 (https://skillmd.com/u/vishal2612200)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/vishal2612200/agentpack-refresh

---


# AgentPack Refresh

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

## Steps

1. Run the portable refresh path:

```bash
agentpack pack --agent codex --task auto
```

2. If the task changed, update it first:

```bash
agentpack task set "<task>"
agentpack pack --agent codex --task auto
```

3. Read `.agentpack/context.md` after refresh.
4. Warn if context still appears stale or task text does not match.
5. Treat the pack as a map, not proof of correctness.

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

