trajectory-control
Operator on-ramp to `fak trajctl` — declare an objective + plan + budget, read the progress curve (`HEALTHY | STALL | DRIFT | DETOUR_OVERRUN`), and nudge only…
от anthony-chaudhary★ 50 звёзд на GitHub
Установить trajectory-control в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
trajectory-control — declare an objective, steer by curve, nudge only by regime
What this does. A long-horizon session drifts: the goal from turn 1 is diluted by turn 200, the context fills with operational detail, and the run starts optimizing for the most recent error message instead of the objective. A sub-agent adopts a nearby, more tractable goal and reports success on the wrong thing. An error opens an unbounded repair side-quest. This skill is the operator on-ramp to
trajctl, fak's control plane for exactly this: give the thing you want to progress a named objective with a witnessed score, read its curve (not a snapshot), and intervene only when the curve — and the regime — say you should. The default action is nothing.
The one primitive carries the whole family: anything you want to progress gets
a named score, and every conversation about progress becomes one of two moves —
improve the score or improve the scoring method. A goal without a score is a
wish; a score without a curve is a snapshot. Steering reads curves, never
points. The doctrine, witness rungs, steering ladder, and SOTA anchors live in
docs/notes/TRAJECTORY-CONTROL-SCORE-ANYTHING-2026-07-03.md (epic #2533);
this skill is the runnable operator path over the shipped spine.
Positioning — reach for the right trajectory skill
Three skills share the word "trajectory"; they do not overlap.
- trajectory-control (this skill) steers a live objective forward. It reads a progress curve against a goal you declared and decides whether to nudge the running session. Present tense, forward-looking.
- trajectory-audit is the retrospective token/cost sweep of past Claude Code transcripts — machine-wide I:O ratio, cache reuse, heaviest sessions, stuck/churn detectors. It scores cost of past runs, read-only, and never touches a live objective.
- trajectory-garden gardens a recorded corpus (
fak traj) — near-duplicate queries, cost outliers, refused traces — and proposes prunes. It scores notability of past turns, not progress of a live goal.
Rule of thumb: audit asks "where did the tokens go?", garden asks "which past turns are cruft?", control asks "is this run still going where I asked?"
trajctl is also not the scorecard family (scorecard and
score-2x fold a repo surface into a *_debt integer), not
score-signal (the CI-regression issue feeder), and not loopdrive's binary
GOAL.md witness — it adds the continuous curve between 0 and done, importing
GOAL.md's Objective/Plan/Budget as its objective.
Shipped surface vs. not-yet-shipped (be honest about the rung)
What ships today across internal/trajctl and cmd/fak/trajctl.go:
- Data-plane leaf (
internal/trajctl): Objective + ScoreRow model, four witness rungs (W3/W2/W1/W0), closed status/signal vocabularies, and the append-only JSONL ledger (fak-trajctl/1). - Shipped
fak trajctlCLI verbs (cmd/fak/trajctl.go,cmd/fak/trajctl_score.go,cmd/fak/trajctl_backtest.go,cmd/fak/trajctl_quote.go):declare(--id,--statement,--parent,--plan,--budget-turns,--budget-tokens,--from-goal, optional--rubric-base-url)close(--id,--status met|abandoned,--force; depth-gated byinternal/depthadmit)depth(--id; carried/declared phase count and frontier)list(--status active|paused|met|abandoned|open|all)curve(--objective; folds score rows intoHEALTHY | STALL | DRIFT | DETOUR_OVERRUN)fleet(worst-first fleet objectives view)score(--objective,--method judge,--base-url,--max-call-tokens; appends a W1 row, never runs on the stop-hook path)scorers(calibration leaderboard vs W3 ground truth)backtest(--scorer,--corpus,--incumbent; offline qualification gate)quote,quote-revise,quote-complete,quote-backtest(cost-quote lifecycle)
Not yet shipped as standalone CLI verbs: fak trajctl nudge / steer (the regime-gated nudge helper trajctlNudgeBus / DecideNudge exists in cmd/fak/trajctl_nudge.go and internal/trajctl, wired to the internal control bus rather than a top-level fak trajctl subcommand), and automatic per-turn stop-hook judge scoring. Do not invent output for unshipped verbs — run only the witnessed commands above.
The deterministic, runnable witness of the shipped data plane:
go test ./internal/trajctl/... # model + witness rungs + JSONL ledger round-trip, all green
The four operator loops
1. Declare an objective
Name the thing you want to progress, its plan, and its budget. An objective is
the durable record {id, parent_id, statement, plan[], scorers[], budget, status}; the status vocabulary is closed: active | paused | met | abandoned.
Parent/child ids give you the hierarchy — epic > session goal
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл trajectory-control?
Operator on-ramp to `fak trajctl` — declare an objective + plan + budget, read the progress curve (`HEALTHY | STALL | DRIFT | DETOUR_OVERRUN`), and nudge only by regime. Use when steering a live objective.
Как установить скилл trajectory-control?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл trajectory-control запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…