I've been thinking a lot lately about how to best use multi agentic tooling. So I've got a couple ideas
here, and I want you to kind of research them for me and and kind of plot out with me, what we're doing.
So I'm thinking CLI tools are much more context efficient, which I think a lot of people are seeing
right now rather than MCPs. And so CLI tools could be built for different scripts or internal tooling or
you know, use them as external toolings instead of MCPs wherever possible. Docs for any APIs or
libraries need to be easily MCPs that exist for it or just, like, need to be reinforced that when we're
riding with them, they need to be searched. Because we need a factual reference. I think there's an
interesting path to be used with Cloud Code Hooks where you're forcing the model to do something
deterministic forcing something deterministic to happen when the model does something. So stuff like,
you know, beginning of turn or end of turn. You can combine those with unit tests, d d tests, You know,
unit test validates the code we've written. Optimally, it would be written with a different model than
the coding agent because you know, if they're the same, then it'll just write passing tests. Then you've
got EDE using something like like agent browser plugin. Which I think would be super effective for
testing out UI changes and or validating components and browser error logging. You've got linting, which
I think just taking past the base level of linting, you have something like base enforcement of
patterns and style. Where you're enforcing consistency but also flagging to the LMM like, hey, we have
this pattern that you're breaking, and really just enforces, like, some sort of consistency that the
QuadMD file can't always constrain. So the claudmd files become those with the memory become something
like a constraint pattern navigation broad stroke behavior enforcement. And optimally, I opt optimal
you'd have them at each level of a project so that their feature level. Right? So that every time you
dynamically load something in, from the from a different directory or part of the project, you would get
that info just about that part. Along with extensive documentation about the whys, not just the hows.
Something is happening.
Assistant
Using the brainstorming skill to explore these ideas properly before diving in.
User
Tell your human partner that this command is deprecated and will be removed in the next major release. They should ask you to use the "superpowers brainstorming" skill instead.
Assistant
Let me use the correct skill name.
Assistant
Let me start by exploring the current project context to understand what's already built before diving into questions.
Let me fetch those references to incorporate into our discussion.
Assistant
Got it — let's just talk through this. The OpenAI article was blocked (403), but the backpressure concept came through clearly and it's directly aligned with what you're describing.
Here's how I'm parsing your ideas into a coherent framework. Let me lay out what I'm hearing, then we can dig into each piece:
Your thesis: The most effective multi-agentic setup isn't about giving agents more capabilities — it's about constraining them with deterministic feedback loops (backpressure) so they self-correct, stay consistent, and produce reliable output.
You're describing roughly 5 layers:
CLI tools over MCPs — lighter context footprint, better for internal tooling and scripts. MCPs reserved for things that genuinely need persistent server connections (like API integrations with auth).
Documentation as ground truth — API specs, library docs need to be searchable and fetched, not assumed. Whether that's via MCPs or CLI tools that pull docs on demand.
Hooks as backpressure — the Claude Code hooks system becomes the enforcement layer. Beginning-of-turn, end-of-turn, post-edit — each hook forces something deterministic. Unit tests, E2E via browser automation, linting, pattern enforcement. The agent doesn't get to skip these.
Layered CLAUDE.md files — broad behavior at the root, feature-specific constraints at each directory level. Combined with memory, these become the "soft" guidance layer (what to do), while hooks are the "hard" layer (what you must do).
Skills as workflow templates — codified processes for common agent tasks.
The cross-cutting theme is "why" documentation — every piece of code and every constraint should explain its reasoning, not just its mechanics.
My first question: When you say CLI tools are more context-efficient than MCPs, are you thinking about this primarily from the perspective of your agent-runner orchestrating multiple agents, or more broadly for any developer using Claude Code day-to-day? The answer changes the design — orchestrator-level tooling has different constraints than per-session developer tooling.
Level 7 — Your agent-runner is already here (background agents, worktree isolation, CI gates)
A few things from this article that reinforce or sharpen your ideas:
"Constraints > instructions" — This is exactly your point about CLAUDE.md being "soft" guidance vs hooks being "hard" enforcement. The article argues the same: don't give step-by-step checklists, define boundaries. The hook system is the boundary, the CLAUDE.md is the navigation.
"Every token needs to fight for its place in the prompt" — This validates your CLI-over-MCP instinct. MCPs inject full schemas every turn. A CLI tool returns only what you asked for. The context cost difference compounds fast with multi-agent setups where you're running many sessions.
"Decouple implementer from reviewer" — You mentioned this: tests should ideally be written by a different model than the coding agent. Same confirmation bias problem. This extends to code review too — your agent-runner already does this with the auto-review spawning a separate read-only Claude instance.
"Design for throughput, not perfection" — Tolerate non-blocking errors, polish before release. This is a tension with your hook system: some hooks should block (destructive commands, missing tests), others should just inject context (lint warnings, pattern violations).
So back to my question — but now I'll reframe it with this context: Are you thinking about building a generalized framework/toolkit that other teams could adopt (like Bassim's "Dispatch" or a level 6-7 starter kit), or are you refining your existing agent-runner setup with these specific improvements for your own workflow? That distinction shapes whether we're designing a product or iterating on infrastructure.
User
I mean I'd like to do a little of both. Did you look at dispatch? how different is it from what we've built?
Assistant
Good stuff. Here's the comparison:
Dispatch vs. Your Agent Runner
They solve the same problem differently:
Dispatch
Your Agent Runner
Trigger
Developer invokes from within a Claude session
Polls Linear for labeled issues — fully autonomous
Orchestration
Claude session as mediator, dispatches workers interactively
Bash script orchestrator, no Claude session needed
Isolation
Workers get fresh context windows
Git worktrees + Docker containers
IPC
Filesystem-based question files, 3-min timeout
Linear comments, blocked-issue files
State tracking
Markdown checklists (plan file = progress)
Linear issue status + git state
CI
Not built-in
ci-gate runs before push, retry with Claude fix
PR creation
Not mentioned
Automated, with implementation reports back to Linear
The entire backpressure/harness layer (hooks, CI gate, stop-gate, test evidence requirements)
Autonomous operation (no human in the loop after issue creation)
Linear integration for project management
Orchestrated sub-issue decomposition with scope enforcement
Event tracing
What Dispatch has that's interesting:
Multi-model routing — "use opus for implementation, sonnet for tests, gemini for exploration." This is the "wisdom of crowds" / decoupled-reviewer idea you were talking about. Your runner currently uses one model.
User
I think 2 and 3 have the highest leverage - the question is how much of it is generalizeable vs per-project
Assistant
That's the right question. Let me think through this tension because it's the core design problem.
The spectrum looks something like:
code
Fully General Fully Per-Project
(works everywhere) (custom to one codebase)
| |
|-- Block destructive commands |
|-- Test evidence before completion |
|-- "Fetch docs before assuming" |-- "Services go in src/services/"
|-- CLI > MCP preference |-- "Use our QueryBuilder, not raw SQL"
|-- Doc-why-not-how enforcement |-- "Component props follow X pattern"
| |-- "State management uses Zustand stores"
| |-- Feature-level CLAUDE.md files
|-- Lint on edit (run the project's |
| linter, whatever it is) |
|-- Pattern violation detection |
| (the mechanism) |
The mechanism is generalizable. The rules are per-project. That's the separation.
Your hooks like block-destructive.sh, stop-gate.sh, command-budget.sh — those are already general. They work on any codebase. The harness layer.
The per-project part is: what patterns are you enforcing, and what does "consistent" mean in this codebase?
So the question becomes: can you build a general-purpose "pattern enforcement" hook that reads project-specific rules from a config file or directory? Something like:
A hook fires on PostToolUse:Edit|Write
It reads .claude/patterns/*.md or a .claude/patterns.yaml
Each pattern has: a description, file globs it applies to, what to check for (grep patterns, AST checks, or even an LLM-judged rule)
Violations get injected as context, not hard blocks
The general piece is the hook + runner. The per-project piece is the pattern definitions that live in the repo.
Does that separation feel right to you, or are you thinking about it differently? And how "smart" should the pattern checking be — deterministic (grep/AST-level), LLM-judged, or both?
User
I think that makes total sense. Couple of notes too going back to the comparison - would it be possible to make a version of this agent runner that works interactively? And can the linear cli be used instead of the mcp for token savings?
I really like the idea of generalizing it, but there needs to be both hard and soft stops, not just context always but not always hard blocks. IF we're goinjg to make it configurable it should truly be configurable.
The other thing to think about is how we validate this and what the strategy looks like
Assistant
Three good threads here. Let me take them in order.
Interactive mode: Absolutely feasible. Your agent-runner already does all the hard parts (worktree creation, CI gating, hook enforcement, PR creation). An interactive mode would essentially be a skill that wraps the same infrastructure but triggered from within a Claude session instead of a Linear poll. Something like:
code
/dispatch ENG-123 # pull issue from Linear, spin up worktree, run with harness
/dispatch "add dark mode to settings page" # free-form, no Linear needed
The core loop stays the same — isolate, enforce, validate, PR — but the orchestrator is your Claude session instead of the bash polling loop. You get Dispatch's interactivity with your backpressure layer. That's a real differentiator.
Linear CLI: Your agent-runner already uses curl against the Linear API directly — it's not using the MCP at all. So the runner is already CLI-native. The question is whether the agents themselves should interact with Linear via CLI tools instead of MCP during their work sessions. And yes, a thin linear-cli wrapper (or just documented curl patterns) would save significant context vs loading the full Linear MCP schema every turn. The agents rarely need more than "post a comment" or "update status."
Configurable enforcement levels — this is where it gets interesting. Here's a model:
yaml
# .claude/enforcement.yaml
rules:
- name: no-raw-sql
description: "Use QueryBuilder instead of raw SQL strings"
match:
files: "src/**/*.ts"
pattern: "\\b(query|execute)\\s*\\(\\s*[`'\"]"
level: block # hard stop — hook denies the action
- name: service-layer-pattern
description: "Business logic belongs in src/services/, not in routes"
match:
files: "src/routes/**/*.ts"
pattern: "prisma\\.|db\\."
level: warn # inject context, don't block
- name: prefer-composables
description: "Prefer composables over inline reactive state"
match:
files: "src/components/**/*.vue"
pattern: "ref\\(|reactive\\("
level: info # log only, surface if agent asks
- name: test-colocation
description: "Tests should be colocated with source files"
check: custom # runs a script
script: ".claude/checks/test-colocation.sh"
level: warn
User
I think all 3 together or the unit as a whole first, then the scopes. I think one thing to consider with the command line tool is that we should always use linear - it just provides too good of a standardized method for tracking and documenting work. Especially if we can wrap it in a cli
Assistant
Good call. Linear stays as the source of truth for all modes — interactive or autonomous. The CLI wrapper just makes it context-efficient.
Let me sketch the unified system.
The Whole Unit
code
User
seems like the cli already exists, depending on if its too heavy or not for our needs https://github.com/schpet/linear-cli\
Haiku would be cheap enough that I think that'd be fine, especially if it can run on the claude code subscription still somehow? Even if not probably worth it, because that style of pattern matching is extremely important, unless something like biome could be used or you can think of another apporach
Assistant
That CLI is near-perfect for this. 406 commits, Deno compiled to native binary (lightweight), already has issue CRUD, comments, status updates, and — notably — it already ships with a Claude Code skill. Covers everything the agent-runner needs from Linear without the MCP schema overhead.
Only thing to verify is whether its output is terse enough or if we'd want a --json flag for programmatic parsing in the runner. But that's a detail.
Now on the pattern enforcement question — let me lay out the options honestly:
Deterministic (Biome / ESLint custom rules):
Biome is fast (Rust), but custom rules are limited to what the AST can express. Good for "don't use X import," "function must return Y type," structural stuff.
ESLint custom rules are more flexible but writing them is a whole project per rule. Heavy authoring cost.
Neither can judge architectural intent — "this business logic doesn't belong in the route layer" requires understanding what the code does, not just its syntax.
LLM-judged (Haiku):
Can understand intent: "is this file doing data access that belongs in the service layer?"
Cheap — maybe 1-2K tokens per check, fractions of a cent
But: Can't run on the Claude Code subscription directly from a hook. Hooks are bash scripts — they'd need an API key and a curl call to the Anthropic API. The subscription covers the interactive Claude session, not programmatic API calls from shell scripts.
Latency: ~500ms-1s per check. Fine for async PostToolUse, too slow for blocking PreToolUse.
Hybrid (the right answer probably):
yaml
rules:
# Deterministic — fast, runs in PreToolUse, can block
- name: no-raw-sql
check: grep
pattern: "\\bquery\\s*\\(\\s*[`'\"]"
files: "src/**/*.ts"
level: block
# Deterministic — use biome/eslint for structural rules
- name: no-default-export
check: biome
rule: "noDefaultExport"
files: "src/lib/**/*.ts"
level: warn
# LLM-judged — async, runs PostToolUse, injects context
- name: service-layer-boundary
check: llm
model: haiku
prompt: |
Does this file contain data access or business logic
that should be in src/services/ instead?
files: "src/routes/**/*.ts"
level: warn
# LLM-judged — architectural review
- name: component-responsibility
check: llm
model: haiku
prompt: |
Does this component handle more than one concern?
(rendering, data fetching, state management should be separated)
files: "src/components/**/*.tsx"
level: info
User
No I think that's great, cheap and easy. So you don't think there's any value in the biome or other deterministic tooling?
Assistant
No, there absolutely is — I wasn't clear enough. The hybrid is the point. Let me restate:
Deterministic tooling is the foundation. LLM-judged is the escape hatch for what deterministic can't reach.
The value hierarchy:
Grep/regex patterns — near-zero cost, instant, no false positives for simple structural rules. "Don't import X from Y," "no console.log in production code," "don't use any type." Already works in your hooks today.
Biome/ESLint — AST-aware, understands code structure not just text. Can catch things grep can't: "no default exports," "hooks must be called at top level," "no nested ternaries deeper than 2." Biome is especially good here because it's fast enough to run synchronously in a hook without noticeable delay.
Haiku (LLM-judged) — only for rules that require understanding intent. "Does this belong in this layer?" "Is this component doing too much?" These are inherently fuzzy and can't be expressed as AST patterns.
The mistake would be using Haiku for everything. It's slower, costs money (even if cheap), and introduces nondeterminism — the same code might get different judgments on different runs. You only want that when the rule itself is inherently fuzzy.
So the enforcement config actually becomes a progression:
yaml
rules:
# Level 1: grep — use when a text pattern is sufficient
- name: no-console-log
check: grep
pattern: "console\\.log"
files: "src/**/*.ts"
level: warn
# Level 2: biome/eslint — use when you need AST awareness
- name: no-deep-nesting
check: biome
rule: "noExcessiveNestedCallExpressions"
level: warn
# Level 3: llm — use ONLY when the rule is semantic
- name: wrong-layer
check: llm
model: haiku
prompt: "Does this file mix concerns that should be separated?"
files: "src/routes/**/*.ts"
level: warn
The authoring guidance would be: start at grep, escalate to AST, escalate to LLM only when you have to. Each level adds cost and nondeterminism, so you use the cheapest tool that can express the rule.
Biome in particular is underrated for this — it's Rust-fast, has a growing rule set, and supports custom plugins. It could handle probably 70-80% of the "pattern enforcement" use cases without touching an LLM. The LLM layer catches the remaining 20% that's genuinely about architectural judgment.
Does that framing work? And are you thinking of this as something where projects start with a few rules and grow them over time, or would you want a "starter pack" of common rules that ship with the framework?
User
Excellent, that's what I was thinking. maybe we have a utility to build the starter pack per project?
Assistant
Yeah, that's a great idea. A bootstrapper that analyzes the project and generates an initial enforcement.yaml tailored to what it actually finds.
Something like:
bash
agent-harness init
It would:
Detect the stack — same way ci-gate already auto-detects (TypeScript/Next.js, Rust, Python, Go, etc.)
Scan for existing tooling — is Biome already configured? ESLint? Ruff? Pytest? What's already there that we can lean on vs. what's missing?
Analyze the codebase structure — where are routes vs services vs components? Is there a clear layer separation? What patterns are already in use?
Generate rules at all three levels:
Grep rules from obvious patterns (imports, logging, env access patterns)
Biome/linter rules that map to existing config or sensible defaults for the stack
LLM rules for architectural boundaries it detected (e.g., "you have src/services/ and src/routes/, enforce the boundary")
Output a draftenforcement.yaml + .claude/patterns/ directory with explanatory docs
The key word is draft. It proposes, the developer reviews and tunes. It should feel like:
code
$ agent-harness init
Detected: TypeScript + Next.js + Biome + Prisma
Found: src/services/, src/routes/, src/components/
Generated .claude/enforcement.yaml with 12 rules:
4 grep (block: 1, warn: 3)
5 biome (warn: 4, info: 1)
3 llm (warn: 2, info: 1)
Review the generated config:
vim .claude/enforcement.yaml
Adjust severity levels and remove any rules that
don't fit your project before activating.
The analysis step — "what patterns exist in this codebase" — is itself a good use of an LLM. You could have init send the directory tree + a sample of key files to Haiku/Sonnet and ask it to identify architectural patterns, naming conventions, layer boundaries, and common anti-patterns. Then translate those observations into concrete rules.
You could also have a for ongoing rule authoring:
User
I think this is great, not super concerned with the templating setup at the moment since this is used only at my companies, but overall great ideas here. Let's iterate on the specificxs
Assistant
Good. Let's get concrete. A few areas that need specifics nailed down:
The enforcement hook — actual mechanics: how does one hook read the YAML, run the right check type, and route to block/warn/info? Timing (pre vs post tool use)?
The agent-harness CLI — what subcommands, what it wraps, how it relates to the existing claude-agent-runner
Interactive dispatch mode — the skill interface, how it reuses the runner's internals
Linear CLI integration — use schpet/linear-cli directly, wrap it, or vendor the parts we need?
The enforcement.yaml schema — exact format, what fields a rule needs, how overrides work
Tracing/validation — how enforcement events extend the existing trace format
Which area do you want to start drilling into?
User
Why don't you brainstorm on first iterations of these?
Assistant
Let me think through first iterations of each.
1. Enforcement Hook — Mechanics
The constraint: Claude Code hooks fire per-event type. You can't have one hook handle both pre and post. So it's two hooks sharing one config:
enforce-pre.sh — runs before the action. Only evaluates block-level rules that are deterministic (grep, biome). If any fire, exit 2 with the violation message. The agent sees the block and self-corrects.
enforce-post.sh — runs after the action. Evaluates warn and info rules, including LLM checks. Outputs violations as additionalContext for warn, appends to a log file for info.
The flow for a single edit:
code
Agent writes to src/routes/users.ts
│
▼
enforce-pre.sh
├── parse enforcement.yaml (cached after first read)
├── filter: rules matching src/routes/**/*.ts + level=block
├── run grep checks → match found?
│ YES → exit 2, "BLOCKED: no-raw-sql — Use QueryBuilder..."
│ NO → continue
├── run biome checks → violation?
│ YES → exit 2, "BLOCKED: ..."
│ NO → exit 0, edit proceeds
│
▼
enforce-post.sh (async, after edit completes)
├── filter: rules matching file + level=warn|info
├── run grep/biome warn checks
├── run LLM checks (curl to Anthropic API)
│ send: rule prompt + file diff
│ receive: { "violation": true/false, "explanation": "..." }
├── warn violations → stdout as context
├── info violations → append to .claude/enforcement.log
└── trace event → append to JSONL trace
User
question: how would it handle nested linear tickets?
Assistant
Good question. There are a few dimensions to this:
What the runner already does
The orchestration system handles parent→child today:
Parent issue gets "Orchestrate" label → decomposed into scoped sub-issues
Each sub-issue runs in its own worktree with scope-guard.sh limiting file access
Parent waits for all children, runs integration validation, creates combined PR
Tracing already has swimlane view for orchestrated work
Where it gets interesting with the new system
Enforcement inheritance: Should child issues inherit the parent's enforcement rules, or layer additional constraints?
code
Parent: ENG-100 "Build user dashboard"
├── ENG-101 "Dashboard API endpoints" (scoped: src/routes/dashboard/*, src/services/dashboard/*)
├── ENG-102 "Dashboard UI components" (scoped: src/components/dashboard/*)
└── ENG-103 "Dashboard data migration" (scoped: src/db/migrations/*)
The enforcement.yaml rules already match by file glob — so scoping happens naturally. ENG-101's agent can only touch src/routes/dashboard/*, and the service-layer-boundary rule matches src/routes/**/*.ts, so it fires. ENG-102's agent working in src/components/** gets the component-single-responsibility rule. Each child only sees rules relevant to its scope.
But there's a layer the current system doesn't have: cross-child constraints. The parent issue might need rules like:
"All three sub-issues must use the same data types for the dashboard entity"
"The API contract ENG-101 exposes must match what ENG-102 consumes"
That's the integration validation problem. First iteration approach:
yaml
# .claude/orchestrator/ENG-100/enforcement.yaml
# Parent-level enforcement — applies during integration validation
rules:
- name: api-contract-match
check: llm
prompt: |
Compare the API response types in src/routes/dashboard/
with the fetch calls in src/components/dashboard/.
Do the types and field names align?
files: "src/routes/dashboard/**,src/components/dashboard/**"
level: block
phase: integration # only runs during parent's integration check
User
C and repo
Assistant
Agreed on both. Smart routing with the prompt gives the developer control without forcing them to figure out the dependency graph themselves. And repo-based enforcement keeps everything version-controlled and auditable — the Linear issue says what to build, the repo says how to build it correctly.
So to recap where we've landed on the full system:
Trigger layer:
Autonomous mode (Linear polling, existing runner)
Interactive mode (/dispatch skill, same infrastructure)
Both use linear-cli for token-efficient Linear access, fallback to curl for gaps
Enforcement layer:
Two hooks (enforce-pre.sh, enforce-post.sh) reading shared enforcement.yaml
Three check types: grep → biome → LLM (Haiku), escalate only when needed
Three levels: block / warn / info
Nested tickets: children inherit repo rules by file glob naturally, parent adds phase: integration rules in .claude/orchestrator/<ID>/enforcement.yaml
LLM timeout bumped to 5s (configurable), added content-hash caching
Config versioning policy documented
Please review the spec and let me know if you want any changes before we move to implementation planning.
User
Any sort of rule auto-updating for consistent fixes?
Assistant
Good catch — there's a feedback loop we're not capturing. If an agent consistently self-corrects the same warn in the same way, that's a signal the rule should either:
Escalate to block — if the agent always fixes it, just prevent it upfront and save the round-trip
Generate a grep/biome rule — if the LLM rule is catching something that could be expressed deterministically, downgrade the check type (cheaper, faster, deterministic)
Update the CLAUDE.md — if the pattern is fixable by guidance alone, add it to the project's CLAUDE.md so the agent doesn't write the violation in the first place
Three mechanisms, in order of automation:
1. Auto-escalation (fully automatic)
yaml
settings:
auto_escalate:
enabled: true
threshold: 5 # consecutive self-corrections
cooldown: 7d # don't re-evaluate for 7 days after escalation
When agent-harness status detects a warn rule has been self-corrected N times consecutively with zero overrides, it:
Proposes escalation: "Rule no-console-log has been self-corrected 8/8 times. Escalate to block?"
In autonomous mode: auto-escalates and logs the change
In interactive mode: prompts the developer
This is safe because it only tightens rules that agents are already fixing every time.
2. Check-type downgrade (semi-automatic)
This is the more interesting one. If an LLM rule keeps firing on the same pattern, Haiku can analyze its own history:
code
You've flagged these 6 violations of "service-layer-boundary":
1. src/routes/users.ts:42 — "prisma.user.findMany()"
2. src/routes/orders.ts:18 — "prisma.order.create()"
3. src/routes/products.ts:55 — "db.query('SELECT...')"
...
Can this be expressed as a grep pattern instead of an LLM check?
If Haiku says yes and produces a pattern like prisma\.\w+\.\w+\( for route files, the system proposes adding a grep rule and optionally retiring the LLM rule:
yaml
User
yep, I think that's perfect.
Assistant
Now add the full Rule Auto-Evolution section after the Nested Ticket Enforcement section.
Assistant
Now update the implementation order to include auto-evolution steps.
Assistant
Now update the implementation order.
Assistant
Spec updated and committed. The rule auto-evolution section covers:
v1 (auto-escalation): Threshold-based warn → block after N consecutive self-corrections with zero overrides. Configurable in settings.auto_evolve, auto-applies in autonomous mode with opt-in.
v2 (check-type downgrade): Haiku analyzes its own violation history, proposes grep/biome replacements for LLM rules. Always proposed, never auto-applied.
Dependency checks, CLI verification, CLAUDE.md update, E2E test
The plan was reviewed and had 3 critical, 6 major, and 6 minor issues — all fixed before committing. Please review the spec and plan, and let me know if you want any changes before we start executing.
User
nope looks good
Assistant
Ready to execute. Want me to kick it off now?
User
need to clear context first
Assistant
Makes sense — this is a big plan and you'll want a fresh context window for execution. Everything is persisted:
Start a new session and tell it to execute the plan. It has everything it needs.
User
What do you think about using something like superpowers plugin/skills with this? Would it be additive? can it be automated?
Assistant
Good question. There's a natural fit here, and I think it's very additive. Let me think through the layers.
What skills are today: Soft workflow guidance. They tell the agent how to approach a task — implement uses TDD, debug follows systematic reproduction, review-pr has a structured checklist. But they depend on the agent choosing to follow them. The using-superpowers meta-skill tries to enforce invocation, but it's still LLM-mediated — not deterministic.
What the harness adds: Deterministic enforcement. Hooks don't ask, they require.
The gap: There's no deterministic enforcement of workflow — only of code patterns. The harness can block process.env in a route file, but it can't guarantee the agent wrote tests before implementation, or ran agent-report before declaring done. That's what stop-gate.sh and task-validator.sh try to do, but they're blunt (grep the transcript for test evidence).
Here's where skills + harness converge:
Skills as enforceable workflow contracts
yaml
# In enforcement.yaml
workflows:
# When working on a Linear issue, these skills are REQUIRED
implement:
trigger: "issue" # any Linear issue work
enforce: block # block completion without evidence of skill usage
evidence: ".claude/agent-reports/*.md" # artifact that proves the skill ran
# When CI fails, this skill is auto-invoked
ci-fix:
trigger: "ci.failed" # trace event
enforce: auto-invoke # don't just suggest — inject into context
# Before any PR creation
review-pr:
trigger: "pr.creating"
enforce: warn # warn if no self-review happened
Three enforcement modes:
auto-invoke — Hook detects the trigger condition and injects the skill instructions into the agent's context automatically. The agent doesn't need to remember to call /implement — the harness does it. This is the most powerful one.
User
Do you think it's worth using superpowers or sticking to the built out claude code plugins? or rolling our own
Assistant
Honest take: hybrid now, converge to your own over time.
Here's the breakdown:
What superpowers actually gives you:
Valuable
Redundant with what you already have
Brainstorming flow
implement (you have your own)
Plan writing/reviewing format
review-pr (yours is tuned to your system)
Executing-plans workflow
orchestrate / scoped-worker
Subagent-driven-development
Your agent-runner already does this
The review loops (spec/plan reviewers)
Auto-review in the runner
using-superpowers meta-enforcement
Your hooks (deterministic > LLM-reminded)
You've already built the hard parts. The superpowers plugin is giving you two things you don't have yet:
The brainstorming → plan → execute pipeline as a structured flow (we literally just used it)
Review dispatch (spec-document-reviewer, plan-document-reviewer as subagent prompts)
Everything else is either redundant or weaker than what your harness provides.
The token cost problem is real. Look at what loaded on session start — the using-superpowers skill alone is hundreds of tokens of "if you think there's even a 1% chance..." enforcement text. Every skill invocation loads more. For autonomous agents running dozens of sessions, that context cost compounds. Your hooks do the same enforcement for zero tokens.
My recommendation:
Phase 1 (now): Keep superpowers for YOUR interactive sessions — brainstorming and plan writing are genuinely useful when you're in the loop designing things. But don't load it into agent-runner sessions. The autonomous agents don't need brainstorming or plan writing — they need implementation discipline, which your hooks enforce better.
Phase 2 (with the harness): Port the 2-3 skill contents that are actually useful into your own skills/ directory:
A brainstorm skill (the flow, not the enforcement wrapper)
A plan-review skill (the reviewer prompt, not the loop machinery)
Keep your existing skills as-is (implement, orchestrate, etc.)
The harness's section in enforcement.yaml replaces entirely. Instead of an LLM trying to remember "should I invoke a skill?", your hooks deterministically inject the right workflow based on context. Cheaper, more reliable, project-configurable.
User
Great, love it
Assistant
Added to spec and memory.
Assistant
Done. Roadmap is in the spec, ready whenever you want to start executing the plan.
Checklist-as-state — lightweight, git-friendly, no external deps. Your runner uses Linear which is more powerful but heavier.
Interactive question surfacing — when a worker gets stuck, it writes a question file and the orchestrator surfaces it. Your runner has the blocked-issue pattern but it's async through Linear.
Bottom line: Dispatch is a Level 7 tool focused on the developer-in-the-loop experience — you stay in your session and coordinate. Your agent runner is further along the autonomy spectrum — it's closer to Level 7.5, operating as a background service with no human session required. The backpressure/harness layer (Level 6) is where you're significantly ahead.
So circling back: you're already past what Dispatch does in terms of autonomy and guardrails. The interesting gaps to fill seem to be:
Multi-model routing for the "different model writes tests" idea
Generalizing the harness layer (hooks + CLI tools + layered CLAUDE.md) into something reusable beyond your agent-runner
The linting-as-pattern-enforcement idea — going beyond syntax linting to architectural/pattern consistency
Which of these feels like the highest leverage to explore first?
Three levels:
block — hook returns non-zero, action denied. For things that are genuinely wrong.
warn — action proceeds, violation injected as context on next turn. Agent sees it, can self-correct.
info — logged to a file. Available if the agent or human wants to audit, but doesn't pollute context.
The hook itself is general-purpose — reads the YAML, runs the checks, routes to the right enforcement level. The rules are per-project and checked into the repo.
Validation strategy — this is the hardest part and the one most people skip. A few angles:
Compare with/without the harness. Run the same set of issues (or synthetic tasks) through agents with and without the enforcement layer. Measure: PR acceptance rate, review round-trips, CI pass rate on first push, bugs caught in review that the harness should have caught.
Track backpressure hits. Every time a hook fires (block or warn), log it. Over time you see: which rules fire most? Which ones lead to self-correction (warn → agent fixes it) vs which ones the agent keeps tripping on (maybe the rule is too strict or the CLAUDE.md guidance is unclear)?
Time-to-merge. The real metric. Does the full harness reduce the time from "issue created" to "PR merged"? If hooks are blocking too aggressively, they slow things down. If they're too loose, you pay in review cycles.
False positive rate on pattern enforcement. If warn/block rules fire on correct code, developers will disable them. Track how often a human overrides a rule — that's signal that the rule needs refinement.
A/B by project. Roll out the configurable harness on one project first. Compare agent output quality against a project without it. Same types of tasks, different enforcement levels.
The meta-point: the validation itself should be automated and part of the harness. The trace system you already have (~/.config/claude-agents/traces/) is the foundation — extend it to log enforcement events, and you can query patterns with agent-trace.
Autonomous: poll → pick up issue → work → update status → post report → create PR
Interactive: developer says /dispatch ENG-123 or /dispatch "add feature X" → skill creates a Linear issue if one doesn't exist, or pulls context from the existing one → same execution pipeline → updates Linear throughout
The linear-cli wrapper is what makes this token-efficient. Instead of loading an MCP schema, the agent runs:
bash
linear issue get ENG-123 # fetch issue details
linear comment add ENG-123 "..." # post update
linear issue update ENG-123 --status "In Progress"
linear issue create --team ENG --title "..." --label "Agent"
Thin, predictable output. No schema injection. Could be 10-20 lines of bash wrapping curl + your existing Linear API functions.
The enforcement hook is one hook, not many. Right now you have separate hooks for each concern. The generalized version would be:
bash
# hooks/enforce.sh — single PostToolUse hook
# 1. Reads .claude/enforcement.yaml from the project
# 2. Checks which rules match the current file/action
# 3. Routes to block (exit 2) / warn (stdout context) / info (append to log)
Your existing hooks (block-destructive, stop-gate, etc.) become built-in rules that ship with the framework — always active, not per-project. The enforcement.yaml adds project-specific rules on top. A project could also override built-in severity levels:
yaml
builtins:
command-budget: 500 # override default 300
stop-gate: warn # downgrade from block to warn for this project
rules:
- name: use-query-builder
# ...
Tracing extends to enforcement. New event category enforcement.*:
This feeds the validation metrics. You can query with agent-trace:
bash
agent-trace show ENG-123 --filter enforcement
agent-trace metrics --last 30d # aggregate across all traces
The interactive mode is a skill that reuses the runner's guts. The agent-runner's functions (worktree setup, CI gate, PR creation, Linear API calls) get extracted into a sourced library. Both the autonomous poller and the interactive skill call the same functions:
For your own workflow: the agent-runner gets interactive mode, configurable enforcement, and better observability. You can use it both ways — queue up work in Linear and let it run, or jump in interactively when you want hands-on orchestration.
For generalization: another team adopting this needs to:
Write their .claude/enforcement.yaml with project-specific rules
Add feature-level CLAUDE.md files for soft guidance
Choose their mode: autonomous (configure Linear polling) or interactive (use the skill)
The harness layer works without the agent-runner at all — any developer using Claude Code gets the enforcement and tracing just by having the hooks and config in their project.
Two things I want your take on before going deeper:
The linear-cli wrapper — do you want it as a standalone tool that's useful beyond this framework (could open-source it separately), or tightly coupled as an internal utility?
Rule authoring — the YAML config handles grep-level pattern matching, but your "smart linting" idea goes further. For architectural rules like "business logic shouldn't be in the route layer," a grep pattern is brittle. Do you want an LLM-judged rule type where the hook sends the diff + rule description to a fast model (Haiku) for a yes/no judgment? That's more powerful but adds latency and cost per edit.
Deterministic checks run synchronously — they can block. LLM checks run async post-edit — they inject warnings as context for the agent's next turn. This gives you the speed/reliability of grep/AST where it works, and the intelligence of an LLM where you need semantic understanding.
On the API cost question: even outside the subscription, Haiku is 0.25/MTokin,1.25/MTok out. A typical check sends ~1K tokens and gets back ~100. That's roughly $0.0004 per check. If an agent session fires 50 LLM-judged checks, that's 2 cents. Probably worth it for architectural consistency.
The alternative to avoid API costs entirely: instead of calling Haiku from the hook, the hook could write the violation question to a file, and the main Claude session (which IS on the subscription) picks it up as context on the next turn and self-evaluates. Slower feedback loop, but zero additional cost. Similar to Dispatch's IPC pattern.
What's your instinct — direct Haiku API calls from hooks (cheap, fast, independent), or route through the main session's context (free, slightly delayed)?
agent-harness add-rule
bash
agent-harness add-rule "API routes should not import from src/db directly"
It figures out the right check type (grep if it can, LLM if it must), generates the YAML entry, and adds it to the config. Lower the friction of growing the rule set over time.
This also feeds back into the validation story — when init generates a starter pack, you can track which rules actually fire, which ones get overridden, and which ones the team adds manually. That tells you whether the bootstrapper is generating useful defaults or noise.
One more thought: the starter packs could be shareable. A team that's tuned their enforcement config for a Next.js + Prisma stack could export it as a template. Other teams with similar stacks start from that instead of from scratch:
bash
agent-harness init --template nextjs-prisma
Over time you'd accumulate community-tested rule sets per stack. But that's a later concern — the per-project init is the starting point.
Where are you at with all of this? Feeling like we have enough shape to start writing it up as a spec, or are there more angles you want to explore first?
First iteration simplification: skip Bash tool matching (hard to know what file a bash command affects). Only enforce on Edit and Write where the file path is explicit. Bash-level enforcement stays in the existing block-destructive.sh and scope-guard.sh hooks.
YAML parsing in bash: Use yq (lightweight, single binary, already common). Cache the parsed config in /tmp/enforce-<hash>.sh as exported arrays to avoid re-parsing every hook invocation.
2. agent-harness CLI
First iteration — keep it bash, keep it small:
bash
agent-harness <command>
Commands:
init Analyze project, generate .claude/enforcement.yaml
check [file|dir] Run enforcement rules against files manually
status Show active rules, recent violations, stats
trace Wraps agent-trace (passthrough)
That's it for v1. No add-rule, no templates. Just bootstrap and verify.
init internals:
bash
agent-harness init
# 1. Detect stack (reuse ci-gate's detection logic)
# 2. Check for existing linters (biome.json, .eslintrc, ruff.toml, etc.)
# 3. Scan directory structure for layer patterns
# 4. Call Haiku with: tree output + sample files + prompt:
# "Identify architectural patterns, naming conventions,
# layer boundaries, and suggest enforcement rules"
# 5. Generate .claude/enforcement.yaml from response
# 6. Generate .claude/patterns/ with markdown docs explaining each rule
# 7. Print summary, remind user to review
check is the enforcement logic extracted so you can run it outside of hooks:
bash
agent-harness check src/routes/users.ts
# Runs all matching rules against the file
# Shows: ✗ BLOCK no-raw-sql (line 42)
# ⚠ WARN service-boundary (LLM: "direct Prisma call in route handler")
# ℹ INFO prefer-composables
Useful for CI too — agent-harness check src/ as a CI step catches violations the agent missed.
3. Interactive Dispatch Mode
A Claude Code skill at skills/dispatch/:
markdown
---
name: dispatch
description: Work on a Linear issue or free-form task with full harness
arguments:
- name: target
description: Linear issue ID (ENG-123) or free-form task description
---
The skill body instructs the agent to:
code
1. If target is an issue ID:
- `linear issue view <ID>` to pull context
- Extract title, description, acceptance criteria
If target is free-form text:
- `linear issue create --team <default> --title "..." --label Agent`
- Capture the new issue ID
2. Create worktree:
- `git worktree add ~/.claude/worktrees/<repo>/issue-<ID> -b agent/<ID>`
3. Source enforcement config:
- Check if .claude/enforcement.yaml exists in the project
- If not, suggest running `agent-harness init`
4. Do the work (in the worktree):
- Follow normal implementation workflow
- Hooks enforce rules automatically
- Update Linear status as you go:
`linear issue update <ID> --status "In Progress"`
5. On completion:
- Run ci-gate
- Push branch
- Create PR: `linear issue pr` or `gh pr create`
- Post report to Linear: `linear comment add <ID> "..."`
- Update status: `linear issue update <ID> --status "In Review"`
The difference from autonomous mode: you're in the session, you can steer, answer questions live, approve the plan. But the infrastructure (worktree, hooks, Linear updates, PR) is automated around you.
Shared library extraction — pull the reusable functions out of bin/claude-agent-runner:
The autonomous runner and the dispatch skill both source these. First iteration could be as simple as source-able functions without restructuring the whole runner — just extract the functions that dispatch needs.
4. Linear CLI Integration
Use schpet/linear-cli directly. Install via Homebrew:
bash
brew install schpet/tap/linear
What we need from it vs. what it provides:
Need
linear-cli command
Covered?
Fetch issue details
linear issue view <ID>
Yes
Create issue
linear issue create
Yes
Update status
linear issue update <ID> --status
Yes
Add comment
linear issue comment add <ID>
Yes
List by label
linear issue list --label Agent
Check
Create sub-issues
linear issue create --parent <ID>
Check
Fetch team info
linear team list
Yes
First iteration: Use it directly everywhere it works. For any gaps (like filtered listing or sub-issue creation), fall back to curl against the Linear API — same as the runner does today. Migrate those curl calls to linear-cli as the CLI adds features.
In the agent-runner itself, the linear_* bash functions currently use raw GraphQL. Swap them one at a time:
bash
# Before
linear_get_issue() {
curl -s -X POST https://api.linear.app/graphql \
-H "Authorization: $LINEAR_API_KEY" \
-d '{"query":"{ issue(id: \"'$1'\") { title description ... } }"}'
}
# After
linear_get_issue() {
linear issue view "$1" --json 2>/dev/null || \
curl -s -X POST ... # fallback if CLI lacks a feature
}
5. enforcement.yaml Schema
yaml
# .claude/enforcement.yaml
version: 1
# Override built-in hook defaults
builtins:
command-budget: 500 # default 300
block-destructive: true # on/off
stop-gate: block # block | warn | off
scope-guard: true # on/off
# Global settings
settings:
llm:
model: claude-haiku-4-5-20251001
api_key_env: ANTHROPIC_API_KEY # env var name, not the key itself
max_tokens: 200 # keep responses terse
timeout: 3 # seconds, skip if slow
cache_ttl: 300 # seconds to cache parsed config
trace: true # emit enforcement.* trace events
log_file: .claude/enforcement.log # info-level violations go here
rules:
# --- Grep checks ---
- name: no-console-log
description: "Use logger instead of console.log in production code"
check: grep
pattern: "console\\.(log|debug|info)"
files: "src/**/*.ts"
exclude: "**/*.test.ts" # don't flag in tests
level: warn
- name: no-env-access-outside-config
description: "Access env vars through config module, not process.env directly"
check: grep
pattern: "process\\.env\\."
files: "src/**/*.ts"
exclude: "src/config/**"
level: block
# --- Biome/linter checks ---
- name: no-default-export
description: "Use named exports for better refactoring support"
check: biome
rule: "noDefaultExport"
files: "src/lib/**/*.ts"
level: warn
# --- LLM checks ---
- name: service-layer-boundary
description: "Route handlers should delegate to services, not contain business logic"
check: llm
prompt: |
Review this file. Does it contain business logic or data access
that should be in a service layer instead? Only flag clear violations,
not thin wrappers or simple CRUD passthrough.
files: "src/routes/**/*.ts"
level: warn
- name: component-single-responsibility
description: "Components should handle one concern"
check: llm
prompt: |
Does this component mix concerns that should be separated?
(e.g., data fetching + complex rendering + state management)
Simple components that fetch and display are fine.
files: "src/components/**/*.tsx"
level: info
Key design decisions in this schema:
exclude — so you don't flag test files for production rules
api_key_env — reference to env var, never the actual key in config
timeout on LLM checks — skip gracefully if the API is slow, don't block the agent
prompt for LLM rules includes guidance on what NOT to flag — reduces false positives
6. Tracing / Validation
New event category enforcement in the existing JSONL trace format:
jsonl
{"ts":"2026-03-11T14:32:01Z","cat":"enforcement","event":"rule.checked","rule":"no-console-log","check":"grep","file":"src/routes/users.ts","result":"pass"}
{"ts":"2026-03-11T14:32:01Z","cat":"enforcement","event":"rule.fired","rule":"no-env-access","check":"grep","file":"src/routes/users.ts","level":"block","line":42,"detail":"process.env.DATABASE_URL"}
{"ts":"2026-03-11T14:32:05Z","cat":"enforcement","event":"rule.fired","rule":"service-boundary","check":"llm","file":"src/routes/users.ts","level":"warn","detail":"Direct Prisma call in route handler","model":"haiku","latency_ms":820}
{"ts":"2026-03-11T14:32:08Z","cat":"enforcement","event":"self_corrected","rule":"service-boundary","file":"src/routes/users.ts","detail":"Agent moved query to UserService"}
The self_corrected event is the interesting one — it fires when a warn was issued and the agent subsequently edited the same file in a way that resolves the violation. Detected by re-running the rule after the next edit to the same file.
That's the validation loop closed — the enforcement system measures its own effectiveness.
That's the first iteration sketch across all six areas. What jumps out as needing revision or deeper thought?
The phase: integration field means this rule doesn't fire during individual child execution — only when the parent runs its integration validation after all children complete.
Interactive dispatch with nesting
The interesting UX question:
code
/dispatch ENG-100 # this is a parent with 3 children
What should happen? Options:
A) Decompose and orchestrate — same as autonomous mode. Spin up sub-agents for each child, coordinate. You're the orchestrator in the session.
B) Sequential walk-through — work through children one at a time in the same session. Finish ENG-101, commit, move to ENG-102. Lighter weight, keeps you in control.
C) Smart routing — if children have no dependencies on each other, offer to parallelize. If they're sequential, walk through in order.
My instinct is C with a prompt:
code
ENG-100 has 3 sub-issues:
ENG-101: Dashboard API endpoints (no deps)
ENG-102: Dashboard UI components (depends on ENG-101)
ENG-103: Dashboard data migration (no deps)
ENG-101 and ENG-103 can run in parallel.
ENG-102 needs ENG-101 to finish first.
Options:
1. Parallel: spawn agents for 101+103, then 102
2. Sequential: work through each in this session
3. Pick one to start with
Which approach?
Tracing across the hierarchy
The trace format already supports this with the orchestration category. Extend it to link parent→child:
The parent field on every child event lets agent-trace aggregate up:
bash
agent-trace show ENG-100 # shows parent + all children
agent-trace show ENG-100 --children # only child events
agent-trace status ENG-100 # rollup enforcement stats across hierarchy
Status rollup
When all children complete:
bash
# Each child finishing:
linear issue update ENG-101 --status "Done"
# Parent detects all children done → runs integration:
agent-harness check src/routes/dashboard/ src/components/dashboard/ src/db/migrations/
# + integration-phase enforcement rules
# If integration passes:
linear issue update ENG-100 --status "In Review"
# Create combined PR
The one gap with linear-cli is whether it supports --parent on issue creation and querying children. If not, that's one of the fallback-to-curl spots initially.
The main design decision here: should parent-level enforcement rules live in the repo (.claude/orchestrator/<ID>/enforcement.yaml) or in the Linear issue description itself? Repo keeps it version-controlled and auditable. Linear keeps it closer to the task definition. Leaning repo since enforcement is a code concern, not a project management concern. What's your take?
# AUTO-GENERATED from LLM rule "service-layer-boundary"
# Based on 6 consistent violations (2026-03-01 to 2026-03-11)
- name: no-prisma-in-routes
description: "Direct Prisma calls in route handlers — use service layer"
check: grep
pattern: "prisma\\.\\w+\\.\\w+\\("
files: "src/routes/**/*.ts"
level: warn # or block, if auto-escalation also triggers
This converts expensive nondeterministic checks into cheap deterministic ones based on observed patterns.
3. CLAUDE.md injection (preventive)
If a rule fires repeatedly across multiple sessions, the system suggests adding guidance to the relevant CLAUDE.md so agents avoid the violation entirely:
code
Rule "no-prisma-in-routes" has fired 14 times across 6 sessions.
Suggest adding to src/routes/CLAUDE.md:
"Route handlers must not call Prisma directly.
Import from src/services/ instead. See src/services/user-service.ts
for the pattern."
This is the "shift left" — instead of catching violations after they're written, prevent them from being written.
The progression
code
LLM warn (expensive, catches everything)
↓ pattern stabilizes
grep/biome warn (cheap, deterministic)
↓ agent always self-corrects
grep/biome block (prevent it entirely)
+ CLAUDE.md guidance (prevent agent from even trying)
Rules start expensive and permissive, then naturally tighten and cheapen as the system learns. The enforcement.yaml evolves from a mostly-LLM config to a mostly-deterministic one over time.
Want me to fold this into the spec? I think auto-escalation is v1-ready (simple threshold logic), check-type downgrade is v2 (needs Haiku meta-analysis), and CLAUDE.md injection is v2 or v3 (needs cross-session aggregation).
block — Like stop-gate, but checking for skill artifacts instead of just "did tests run." Did the agent produce an agent-report? Did the implement skill's checklist get completed? Block completion if not.
warn — Inject context: "You haven't run the review-pr workflow yet. Consider doing so before creating the PR."
How to automate skill invocation
The hooks already have the right trigger points:
Trigger
Hook Event
Skill to invoke
Start working on issue
SessionStart
implement or scoped-worker
CI gate fails
ci-gate exit 1
ci-fix
About to create PR
Pre-push
agent-report + simplify
Test failures
Post-test
debug
Multiple files touched
PostToolUse threshold
simplify
The session-context.sh hook already injects context at session start. Extending it to inject skill instructions based on the workflow config is straightforward:
bash
# In session-context.sh (or a new workflow-inject.sh hook)
# Read workflow config, determine which skills should be active
# Inject skill content as additionalContext
The skill content is just markdown — it can be read from skills/*/SKILL.md and injected as context without the agent needing to invoke the Skill tool.
What this means for the framework
The harness gets a third config section alongside builtins and rules:
Per-project skill customization too — a project could have its own skills in .claude/skills/ that get auto-invoked alongside the standard ones. A team that has specific deployment steps or review requirements writes a skill for it, and the harness guarantees it runs.
What can't be automated
The brainstorming skill is inherently interactive — it needs human input. Same for blocked. These stay human-triggered. The automation sweet spot is skills that have a clear trigger condition and produce a verifiable artifact.
The meta-question: does this replace using-superpowers?
Partially. For agent-runner sessions (autonomous or dispatch), the harness would handle skill invocation deterministically — no need for the LLM to "remember" to check for skills. For interactive developer sessions without the harness, using-superpowers still serves as the soft reminder.
So: additive, yes. Automatable for the ~70% of skills that have clear triggers and artifacts. The enforcement.yaml gets a workflows section alongside rules. Want me to fold this into the spec, or keep it as a v2 extension?
Phase 3 (when workflows ship):
workflows
using-superpowers
What to roll your own:
Workflow enforcement (the workflows: section we just discussed) — yes, absolutely
Skill content (the actual guidance markdown) — keep writing your own, they're already better tuned to your system
The structured brainstorming/plan format — port the structure, drop the plugin dependency
What NOT to roll your own:
Don't rebuild the Skill tool invocation mechanism — Claude Code's built-in skill loading works fine
Don't rebuild subagent dispatch — you already have the Agent tool + your orchestrator
The tl;dr: superpowers is training wheels for teams that don't have a harness. You're building the harness. The useful bits are about 200 lines of markdown you can port into your own skills. The enforcement bits are weaker than your hooks. Keep it for interactive brainstorming until your workflow enforcement is built, then drop it.
Want me to add a note about this to the spec's roadmap?