Pi Task — Testing skill for Claude Code
Deterministic spec-orchestration for local LLMs in the pi coding agent — drives prompts through refine→research→grill→compose→critique, with bundled web/docs/fetch worker tools.
How to install Pi Task
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mjasnikovs/pi-task and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Task does
Deterministic spec-orchestration for local LLMs in the pi coding agent — drives prompts through refine→research→grill→compose→critique, with bundled web/docs/fetch worker tools.
Alternatives in Testing
- Testing Strategy — This project is small, runs in a terminal, and is mostly deterministic 10.9k ★
- Add Plugin — Integrate a spec-driven/skill framework as a bundled agtx plugin 1.5k ★
- Grill — Sharpen a fuzzy idea into §G/§C before spec 1.1k ★
README

pi-task
**Deterministic spec-orchestration for local models — with bundled web, docs, fetch, and worker sub-agent tools.**
[](https://www.npmjs.com/package/@mjasnikovs/pi-task) [](./LICENSE) [](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) [](#development) [](./tsconfig.json)
What it does
Local models drift. Ask one to plan a non-trivial change and it skips context, hallucinates APIs, and forgets what you actually asked. `pi-task` fixes this by **not trusting a single prompt** — it drives your request through a fixed, persisted pipeline of small, verifiable steps (shown above), then hands the main session a clean spec to execute.
Every phase boundary is written to `.pi-tasks/TASK_NNNN.md`, so a task survives a crash, a restart, or a `/task-cancel` — pick it back up with `/task-resume`.
Why it's different
- Deterministic by construction. The phase order is fixed code, not a model's free choice. The orchestrator loops over a config table; each phase has one job and one output section.
- Parallel research, focused output. The research phase fans out to isolated child agents — one indexing project files, others digging into APIs, context, and tooling — and **verifies to
Related Skills
Dodoguard
Test your prompts, agents, and RAGs. AI Red teaming, pentesting, and vulnerability scanning for LLMs. Compare
Prompting Frameworks
Four Claude/Cowork skills for structuring and QA'ing prompts: ART (refining vague asks), ICIO (structuring pro
Spec Design
Refine design.md for an active change. Surfaces missing constraints, writes the initial draft to disk, then re
Spec Requirements
Refine proposal.md and capability deltas for an active change. Interviews the user, writes the initial draft t
Fixissue
End-to-end issue resolution - fetch, branch, fix, test, commit, PR, close
Adversarial Spec
A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until a
Related Agents
Prompt Engineer Agent
Specialist in crafting, testing, and systematically optimizing prompts for LLMs — turning vague instructions i
AI Agent Security
AI / Agent Security specialist (NIST SP 800-218A profile; SSDF PS.1 AI artifacts, PW.3 data integrity). Read-o
Prompter
Use this agent when you need to create, refine, or optimize prompts for AI systems. This includes writing new