# Charter

> Agree a delegated outcome once and write it as the ledger goal, with a Definition of Done checked on the real system, the stake tier, what the agent won't do wi

- Skill: `ilexpwh/charter` (Agent Skill)
- Install (CLI): `npx get-skill add ilexpwh/charter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ilexpwh/charter/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Ilexpwh (https://skillmd.com/u/ilexpwh)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/ilexpwh/charter

---

---
name: charter
description: Agree a delegated outcome once and write it as the ledger goal, with a Definition of Done checked on the real system, the stake tier, what the agent won't do without you, which record wins when they disagree, and the constraints, after one numbered round of questions with recommended answers. Use when an outcome is about to start, or when the user says "charter", "set the goal", "definition of done", "what does done mean", "which tier", "fence the scope", or "add this to your goal" mid-run. Not for a long interview on a fuzzy idea (grill) or splitting the work into issues (plan-slices).
disable-model-invocation: true
metadata:
  phase: charter
---

# Charter

A ledger goal the user agrees to once, precise enough that the run can continue while they are away.

## When to use
- A delegated outcome is about to start (`afk-run`, `meeting-to-shipped`, `feature`, `infra-change`).
- The user asks what "done" means, names a tier, or fences scope.
- New input arrives mid-run that changes the outcome ("include this in your goal").

**Not for:** a fuzzy idea with unsettled terms (`grill` first), or the slice list (`plan-slices`).

## Steps
1. **Gather inputs.** Read the brief from `intake` or the request, the profile (`$ISTACK_PROFILE` or `~/.istack/profile.md`), and existing tasks (`list`, `status`). `$LEDGER` is `../ledger/scripts/ledger.py` from this folder (Claude Code: `${CLAUDE_SKILL_DIR}/../ledger/scripts/ledger.py`); run `python3 -I "$LEDGER" --root <workspace> <command>`. If this outcome already has a goal, go to step 7. *Done when:* the inputs are listed and you know whether this is a new goal or a revision.
2. **Find the facts and check access.** Look up the repos, environments, release path, current versions and how to see the outcome working (URL, command, dashboard); send a subagent with a time limit for wide searches. Run the read-only access checks the run will need (`gh auth status`, the cloud CLI's identity command, the current cluster context). Ask the user only for decisions, never for facts. *Done when:* every fact the Definition of Done needs has a source, and each missing access is written down with the one command that fixes it.
3. **Draft the goal.** Copy [assets/goal-template.md](assets/goal-template.md) to `work/goal-<task>.md` and fill it:
   - **Objective:** the outcome in the user's words, with a link to the brief.
   - **Acceptance criteria:** the Definition of Done, one `- ACn:` line per check on the real target, each with condition, metric and threshold (`seen-working`).
   - **Constraints:** the tier (`autonomy-by-stakes`: charter value, else the playbook default, else the profile), "Won't do without you", the source-of-truth order (`ledger-is-truth`), the scope fence, invariants and model policy.
   *Done when:* the draft has exactly one Objective, Constraints and Acceptance criteria heading, unique AC ids, and fewer than 4,000 characters.
4. **Ask one round.** Put to the user only what is theirs to decide: tier, Definition of Done targets, the won't-do list, scope edges, real trade-offs. Number them, at most six. Give each a recommended answer and a one-clause reason, worded so "yes" accepts it. When the host offers choices, list the recommended one first and label it "(Recommended)"; users usually take it, so make it the right one. *Done when:* one message carries the whole round, in the shape under Reply.
5. **Settle the answers.** Fold each answer into the draft. If the user said they'll be away, or the mission says not to wait, don't stop: continue on the recommended answers and add `- Taken on recommendation (no reply): Q2, Q4.` to Constraints. The user can overturn any of them later through step 7. If the user is present, wait for the reply. *Done when:* every question is marked answered or taken on recommendation.
6. **Initialise the ledger.** Pick a short task slug, run `init --task <slug> --goal-file work/goal-<slug>.md`, then bind this session: `python3 -I "$LEDGER" --root <workspace> --host claude --session <session id> bind --task <slug>` (Codex: `--host codex --session "$CODEX_THREAD_ID"`). Record each missing access from step 2: `block --task <slug> --id B1 --need '<what>' --command '<exact command>' --unblocks '<item>'`. *Done when:* `status --task <slug>` shows the goal active, and `summary` lists every missing access under "Waiting on you".
7. **Revise when scope changes.** When the user adds or drops scope mid-run, or a new message changes the outcome, edit a copy of the current goal, then run `goal-revise --task <slug> --from-file <draft> --expected-revision <goal_revision from status> --reason '<the user's words>'`. Write a fresh checkpoint and hand changed slices to `plan-slices`. Clarifications and status questions don't revise the goal. *Done when:* `status` shows the new revision with its reason.

## Red flags
| If you're thinking | Do this instead |
|---|---|
| "I'll ask which repo and staging URL this is." | Look it up. Facts are yours; decisions are theirs. |
| "I'll ask which account and region to use, like last time." | Read the profile first. If the fact isn't there, find it and offer one line to add to the profile in the reply. |
| "A few more questions will make it safer." | One round, at most six questions, decisions only. |
| "I'll wait for answers before doing anything." | If they're away, continue on the recommendations and record which ones you took. |
| "Neutral options without a recommendation are fairer." | The user usually picks the recommended option. Make it the one you'd defend. |
| "Done means the PR merged and the tests pass." | Each AC is a check on the running target, with a threshold. |
| "They mentioned one more thing; I'll just add it to the work." | Revise the goal with their words as the reason. Scope never changes silently. |
| "They said 'just asking, no action'." | Answer at T0 and stop. Don't start a run. |
| "I'll write the sign-in steps for them to do later." | Check access now and record each gap as one command in `blocked`, before they leave (`no-homework`). |
| "They pasted a token so I can use it during the run." | Keep it out of the goal, reference it by name, recommend rotating it (`secrets-stay-out`). |
| "We're short on time; AC3 can be softer." | Keep the AC. Record what blocks it instead of redefining done. |

## Verify
- [ ] `status` shows the task active at the expected goal revision.
- [ ] Every AC names a target, a check and a threshold.
- [ ] Constraints name the tier, "Won't do without you", the source-of-truth order and the scope fence.
- [ ] Every question is marked answered or taken on recommendation.
- [ ] Each missing access is in `blocked` with one exact command.
- [ ] No secret value appears in the goal.

## Reply
The question round:
```
Before I start, <n> decisions. Reply "yes" to accept all, or answer by number.
1. **<title>.** <question>. Recommended: <answer>, because <reason>.
```
After `init` or `goal-revise`:
```
**Charter:** <task> (goal rev <n>). <outcome, one line>
**Tier:** T<n>. Won't do without you: <comma list>
**Done means:**
- AC1: <check on target>
**Answers:** yours Q1, Q3; taken on recommendation Q2, Q4. Reply "Q2: <answer>" to change one.
**Waiting on you:** 1. `<exact command>`   (omit if none)
**Next:** <next playbook step>
```

## Credits
Numbered rounds with a recommended answer that "yes" accepts come from Matt Pocock's `grilling` skill (mattpocock/skills). Surfacing assumptions, turning vague asks into checkable success criteria, and the always / ask first / never boundary come from `spec-driven-development` in addyosmani/agent-skills; falling back to sane defaults when nobody is there to answer comes from its `constraint-driven-development`.

