istack
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Delegate outcomes to coding agents. Trust the ledger. Done means seen working. Skills, playbooks, a ledger engine and hooks for Claude Code and Codex.
A methodology pack for coding agents, for when you hand over a whole outcome instead of sitting at the keyboard. You say what should be true, agree a one-page charter, and walk away. The agent takes it from issue to verified release, in parallel where it can. You come back to a ledger that answers "is it done?", lists the one command that needs you, and links the evidence for everything else.
It packages one engineer's way of running agents across many repositories (multi-day runs, specs that arrive as meetings, hundreds of pull requests) into one router, 13 playbooks, 32 skills, a ledger engine and two hooks, for Claude Code and Codex.
/istack-mode I'll be away until 09:00. Take over and finish this outcome end to end:
Outcome: requests over the per-key limit get HTTP 429 on staging
Done means: merged, released to staging, and seen working under a 200-request burst
Tier: T2. Don't touch production.
Why
Agents are good at tasks. Delegated outcomes fail in the gaps between tasks, and istack closes each gap with a principle, a skill or a hook:
The full argument is in docs/methodology.md.
Quickstart
Claude Code
claude plugin marketplace add Ilexpwh/istack
claude plugin install istack@istack
Codex
codex plugin marketplace add Ilexpwh/istack
codex plugin add istack@istack # then trust the hooks in /hooks
Skills only (any agent that reads SKILL.md)
npx skills add Ilexpwh/istack
Then run /istack-setup once to write your private profile, and start with /istack-mode. Walkthrough: docs/getting-started.md.
The method in one picture
One router, /istack-mode, reads your request, picks a playbook, copies its steps into the agent's todo list, sets the stake tier and keeps the ledger. You steer with one-liners ("continue", "status?", "merged 31, continue"); each is read against the ledger, not the agent's memory.
Your part
Say what should be true. Then leave.
- Send the mission. An outcome and its inputs, or just forward the meeting minutes or a colleague's message.
- Answer one round of questions. Numbered, each with a recommended answer. If you're already gone, the agent proceeds on the recommendations and records that it did.
- Walk away. Issues, worktrees, parallel workers, PRs, CI, merge, staging release and live checks happen without check-ins inside your tier.
- Come back to the summary. A Question / Answer / Evidence table, then "Waiting on you" with one exact command per item.
- Steer with one-liners.
continue·status?·merged 31, continue·everything deployed?
What you come back to, from an overnight run (run/SUMMARY.md):
Principles
| Delegation | outcome-not-task · no-homework · autonomy-by-stakes |
| Truth | ledger-is-truth · evidence-not-diary · seen-working |
| Execution | parallel-and-visible · smallest-change · check-the-claim |
| Safety | clean-shared-hosts · secrets-stay-out · denied-means-stop |
Agents cite a principle by name when it changes a decision, and only after reading it that session. One line each: docs/principles.md.
Stake tiers
Autonomy is set per outcome, in the charter, not globally.
| Tier | Scope | The agent may | It asks before |
|---|---|---|---|
| T0 | Read and explore | Read, search, run tests, write scratch files and throwaway worktrees | Changing the product or anything shared |
| T1 | Personal project | Edit, test, commit locally; review gate per wave | Pushing, anything shared |
| T2 | Team, non-production | Issue → PR → merge → staging deploy → verify, no check-ins | Production, shared infra, spend |
| T3 | Production, irreversible | Prepare, dry-run, stage with a rollback | Executing it |
Skills
Thirty-two skills by lifecycle phase. Full catalog with descriptions: docs/skills.md.
| Phase | Skills |
|---|---|
| Entry | istack-mode · istack-setup |
| Intake | intake · research |
| Charter | charter · grill |
| Design | architect · frontend-ui |
| Plan | plan-slices |
| Build | fan-out · tdd · diagnose |
| Verify | prove-it-live · build-harness |
| Review | review-change · show-the-work · security-check · threat-model · subtract · performance |
| Ship | land · deploy-safely · cleanup |
| Report | report · draft-message · systemview · techreport |
| Ledger | ledger · handoff · pickup |
| Learn | retro |
| Workspace | home-repo |
Every skill follows one template (docs/authoring.md): a trigger-first description, When to use / Not for, steps that each end in Done when, a Red flags table drawn from real runs, a Verify checklist, and an exact Reply shape.
Subagents (Claude Code): worker, reviewer, security-auditor, ci-watcher.
Playbooks
| Playbook | For |
|---|---|
| afk-run | Hand over outcomes and walk away |
| meeting-to-shipped | Minutes or a message thread become verified work |
| steer | "continue", "status?", "merged X, continue" |
| pickup-or-takeover | New session on old work, or a stuck agent |
| bug-fix · feature | The core delivery paths |
| explore | Build several variants, cut most, keep or kill the rest by a dated threshold |
| review-a-pr | Explain, review, draft the review and the reply |
| research | A cited answer from authoritative sources |
| personal-project | T1: local commits and a gate per wave |
| infra-change | Deploy config and cloud resources, with a rollback |
| pause-safely · retro | Stop cleanly; learn from the run |
The ledger
One local, git-ignored ledger per outcome, written by the agent through a small CLI (skills/ledger/scripts/ledger.py, Python standard library) and restored by hooks after compaction or a restart.
.context-ledger/tasks/<outcome>/
GOAL.md objective, constraints, acceptance criteria; changed only by explicit revision
STATE.md current state, decisions, verification, dead ends, next actions, open questions
HANDOFF.md generated recovery packet
run/
SUMMARY.md Question / Answer / Evidence, then "Waiting on you" with exact commands
TRACKER.md todo → doing → pr-open → merged → released → verified (| blocked | dropped)
DECISIONS.md BLOCKED.md GLOSSARY.md evidence/
Merged, released, verified and accepted are four different facts, and the engine keeps them apart:
pr-openneeds a PR. The tracker won't record the state without the link.verifiedneeds evidence. An evidence file or URL must exist: claim, target, baseline, treatment, verdict.- Complete means complete. The outcome can't close while any item is unfinished or any blocker is open.
See a real (synthetic) one in examples/afk-run.
Hooks
| Hook | Does |
|---|---|
| Ledger | Restores the goal, state and run section at session start and after compaction; checkpoint reminders; writes HANDOFF.md before compaction and at stop. |
| Guard | Stops a prompt that contains a secret before it reaches the model. Denies git reset --hard, force-push, git clean -f, bare git stash and literal secrets in shell commands. |
ISTACK_GUARD=off turns the guard off; ISTACK_GUARD_SECRETS=warn downgrades prompt blocking to a warning. Details: docs/compatibility.md.
Compatibility
| Host | Skills | Playbooks | Subagents | Hooks |
|---|---|---|---|---|
| Claude Code | ✓ | ✓ | ✓ | ✓ |
| Codex | ✓ | ✓ | workers follow worker.md |
✓ (trust in /hooks) |
Other SKILL.md agents (npx skills) |
✓ | ✓ | — | — |
Python 3.10+ on macOS or Linux for the ledger and hooks. Context cost in Claude Code: about 3.6k tokens of skill descriptions in every session (claude plugin details istack); a skill's body loads only when it is used.
How it compares
| Stance | What istack took from it | |
|---|---|---|
| pstack | Go deep first, then fan out; no planning. | Router to playbooks, citable principles, worker contract, run-proven review |
| agent-skills | Senior-engineer discipline at every lifecycle step. | Lifecycle phases, Red flags and Verify sections, routing evals in CI |
| Cursor team kit | Concrete PR, CI and verification procedures. | CI babysitting rules, three-verdict verification, CLI and UI harnesses |
| mattpocock/skills | Small composable skills; the human stays in control. | Grilling with recommended answers, glossary and gated decisions |
| istack | Delegate the outcome and walk away. | Adds the run ledger with evidence gates, stake tiers, meeting intake and a guard hook |
They combine well. What istack borrowed from each, and what it adds: docs/comparison.md. Measured side by side with NVIDIA SkillEvaluator, 12 of istack's 30 skills have no close counterpart in any of six well-known packs, and those 12 are the delegation layer.
Checked, not claimed
| Result | Command | |
|---|---|---|
| Unit and integration tests | 81 pass (ledger engine, run mode, guard, installer, session miner, systemview scripts) | python3 -m unittest discover -s tests |
| Routing evals | 131/131 prompts reach the right skill; 78/78 close-sounding prompts don't | python3 evals/routing/run.py |
| Behaviour eval | 7/7 checks when a real Claude Code session fixed a planted bug end to end | evals/behaviour/run.sh claude (manual; spends tokens) |
| CI | 4/4 jobs green: Ubuntu and macOS, Python 3.10 and 3.14 | ci.yml |
| Structure and secrets | Every skill against the template, links, manifests, every hook command for both hosts, a secret scan | python3 scripts/validate.py |
Evaluated with NVIDIA SkillEvaluator
We ran NVIDIA's open-source SkillEvaluator 1.4.0 on istack and six well-known engineering packs (236 skills):
- 32 of 32 skills pass the Tier 1 gate in CI, with reviewed baselines for known false positives. As first shipped, 25 of 30 passed outright, the second-highest rate of the seven packs.
- Zero schema failures, one of three packs with none.
- Quality 88.2 / 100 (grade B), with every skill above the pass mark.
- No exploitable security finding. All 39 critical and high scanner hits were reviewed; most are warnings in the text that forbid the risky command.
- Every skill loads in all 7 agent harnesses checked (Claude Code, Codex, Copilot CLI, OpenCode, OpenClaw, Hermes, pi). None is dropped, though some harnesses ignore features such as user-only skills.
Full results, the comparison table, the security triage and what changed after the first run: docs/skillevaluator. This is a self-run evaluation with a public tool, not an NVIDIA certification. Live agent evaluation (Tier 3) has not run yet.
See docs/evaluation.md for how each layer works.
How it's built, and how to grow it
Every rule here traces to something observed in real runs. The evidence register links each observation (E1–E20) to the principle, skill, hook or engine check that encodes it. docs/philosophy.md explains the build rules: evidence first, one entry point, progressive disclosure, structure over prose, descriptions as routing code, a public method with a private profile.
To improve the pack from your own work, open this repository in Claude Code or Codex and hand it evidence:
/evolve-stack Mine my sessions in ~/work/api since 2026-12-01 and update the stack.
/evolve-stack Process everything in evolve/inbox.
/evolve-stack Here is an idea: <the problem, one example, what you'd like>.
The maintainer skill mines sessions with secrets and private terms redacted. It matches each lesson against the register, rates it, and puts it on the highest rung that can enforce it (hook, engine check, validator, principle, playbook, skill, reference). It then runs the full checks and stops before pushing. The workflow is in docs/evolving.md and the maintainer contract in AGENTS.md.
Credits
Built on ideas from pstack by Lauren Tan, agent-skills by Addy Osmani, the Cursor team kit, Matt Pocock's skills, Cloudflare's security-audit skill, AI Hero's Home Repo pattern, OpenAI's Harness engineering and Anthropic's context engineering writing. All prose and code here is original; each skill credits its sources. More in docs/research.md.
The ledger engine began as context-ledger.
Privacy
istack collects nothing and sends nothing. Its hooks and scripts run locally on the Python standard library and make no network calls. The ledger and your private profile stay on your machine. Your agent's own provider terms still apply to what the agent sends.
Contributing
Changes need an observed failure from a real run or a concrete gap. See CONTRIBUTING.md and SCOPE.md.
License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found