Imported from withzombies/hyperpowers (
AGENTS.md). Install upstream withnpx skills add withzombies/hyperpowers. Copyright stays with the author.
AGENTS.md
This repository ships workflow guidance for both Claude Code and Codex.
What This Repo Is
Hyperpowers is a workflow pack for AI coding agents:
skills/contains Claude plugin skills.agents/skills/contains Codex-compatible skillscommands/contains Claude slash-command shimsagents/contains specialized subagent promptshooks/contains Claude hook scripts and shared hook utilities
The goal is to improve the plugin itself. When a user talks about a failure from some other session or project, treat it as evidence for a missing workflow guardrail here. Do not try to debug the historical incident directly.
Active Work Tracking
Active work uses local markdown task directories under plans/active/.
Task directories under plans/active/<slug>/ are local working state:
- keep
plans/README.md, templates, and placeholders tracked - keep per-task directories out of git
- delete finished task directories instead of archiving them
Use:
plans/active/<slug>/plan.mdfor the approved specplans/active/<slug>/context.mdfor discoveries and resume notesplans/active/<slug>/tasks.mdfor the rolling backlog
Completed work:
- delete the local
plans/active/<slug>/directory after verification
Default Workflow
For substantial work:
- Use
brainstormingto shape the work and agree on goals, anti-goals, constraints, and approach. - Create a task directory in
plans/active/<slug>/. - Research the feature or task with at least 3 internet sources focused on current best practices.
Use a real web-search tool call or the
internet-researcheragent. Memory does not count as research. - Put the approved spec in
plan.md. - Use
writing-plansto distill the spec intocontext.mdandtasks.md. - Use
executing-plansto work only the currentNowslice. - Research new task slices with at least 3 sources before promoting them into active work.
Use a real web-search tool call or the
internet-researcheragent. Do not infer best practices from memory. - Update
context.mdandtasks.mdimmediately as reality changes. - Use
review-implementationandverification-before-completionbefore claiming completion.
Task Doc Rules
plan.mdis mostly stable after approval.tasks.mdis intentionally fluid. UseNow,Next,Later,Blocked, andDone.- Keep only 1-2 unchecked items in
Now. - Record rejected approaches and anti-goals in
plan.mdso implementation does not drift. - Record resume notes in
context.mdbefore stopping or compacting. - Delete the finished local task directory instead of moving it to an archive.
Tool-Specific Notes
- Claude Code hooks should guide agents toward the markdown task docs.
- Codex should use the same task directories and repo docs, with
AGENTS.mdas the primary cross-tool policy file. - Keep repo-specific process in repo docs; keep reusable operational guidance in skills.
