Open source · MIT
Make sure your agent understands before it builds.
Briefback guides your coding agent from research to reviewable code, choosing the next step as the task unfolds. Grill is the core: it challenges assumptions and settles open decisions with you before implementation starts.
❯ "Figure out how our auth works"
● Subagent research: tracing session middleware & schemas
✓ Research saved to .briefback/auth/research/
❯ "Great, let's implement OAuth migration based on this research"
● Grilling architecture before writing code:
? 1 · Session schema: modify table or add OAuth rows?
▲ Risk: Altering current table invalidates active tokens
✓ Recommendation: Add separate oauth_accounts table
? 2 · Migration rollout: single commit or phased?
✓ Recommendation: Expand-then-contract across 2 stages
❯ "Agreed, let's go with your recommendations"
● Planning 3 implementation stages:
├─ Stage 1 · Token schema & database models
├─ Stage 2 · OAuth callback & session linking
└─ Stage 3 · Cleanup & legacy deprecation
✓ Plan saved to .briefback/auth/plan.md
❯ "Let's implement stage 1"
● Building stage 1: token encryption & schema
● Subagent review: passed clean · 0 defects
✓ Stage 1 reviewed · ready to commitThe loop
ResearchGrillPlanStageReviewCommit
Every phase is optional and invoked in ordinary language - zero slash commands required. Run deep research, grill edge cases, or go straight to implementation: Briefback adapts to the task while keeping changes reviewable.
- 1
ResearchLearn how it works
optionalAsk the agent to investigate an unfamiliar area. Findings that should outlive the chat are saved under .briefback/<feature>/research/ - ready to attach in a fresh session.
- 2
GrillSharpen the idea
coreThe agent surfaces assumptions, explains trade-offs, and recommends answers in conversation - until nothing important is left unclear.
- 3
PlanPlan the stages
Larger work is split into coherent stages: each one has a clear outcome, a practical check, and a fresh chat can pick it up. Saved to .briefback/<slug>/plan.md.
- 4
ImplementImplement one stage
The first unchecked stage and nothing beyond it. Stay in this chat, start a fresh one, or write code directly - the plan travels with you.
- 5
ReviewSubagent review
A subagent reviews the stage with what changed and why. Defects and safe refactors are fixed in place; product and contract calls come back as decisions for you.
- 6
CommitYour review, then commit
Read the diff yourself, then commit the way you always do. Git and pull requests remain the center of the workflow.
- 7
HandoffRefresh the context
optionalWhen the chat gets noisy, handoff saves what shipped, what changed, and which stage comes next. Attach it to a fresh chat and continue.
Steps 4–6 repeat until every stage in the plan ships
- 8
DocumentArchive or document
optionalTurn the shipped change into a durable project page for the next session - or skip it when no page is needed.
Two paths
One prompt. Two different outcomes.
A real task from production: adding project duplication. See how an unguided agent drifts into silent bugs and tangled diffs, versus how Briefback engineers clean, verified PRs.
Codebase Discovery
Before touching code: does the agent investigate existing architecture?
Rushes straight into modifying files
Starts editing code without reading database schemas, S3 asset references, or platform host uniqueness rules.
Blindly edits 3 critical files simultaneously on raw assumptions.
Uncovers hidden constraints and risks
Inspects schemas, writes structured research docs into .briefback/, and catches critical constraints before writing code.
● Subagent research: tracing schemas & storage
1. Traced storage schema: S3 assets linked via d_files claim IDs
2. Audited cascade routes: projects, workspaces, custom domains
▲ Hidden constraint: deleting original project purges shared S3 files!
✓ Research saved to .briefback/project-duplication/research/
├─ storage-lifecycle.md (S3 multi-claim reference map)
└─ domain-routing.md (ingress collision risks)
Pausing code edits to clarify trade-offs with developerArchitectural Decisions
When forks arise: does the agent guess in secret or clarify with options?
Hallucinates assumptions that break data
Makes catastrophic architectural choices in secret without confirming with the developer:
Surfaces critical forks & locks contract
Translates research into targeted questions with recommended paths, then locks decisions in a plan:
Execution & Review
When shipping: is it a massive unreviewed dump or verified stages?
One tangled 48-file change set
A massive, chaotic change set mixing frontend buttons, DB schemas, broken migrations, and hardcoded tokens:
Build StageReviewCommitNext Stage
Executes in small, isolated stages. Each one is reviewed by a subagent before the next begins:
Patched deletion to retain shared S3 claims. Isolated migration.
POST /duplicate endpoint with safe rollback and sanitized tokens.
Final Outcome
What actually lands in the repository?
Unmergeable code, wasted engineering time
The implementation is dangerous to merge. The developer must roll back the branch and start over from scratch.
Hidden S3 deletion bug would destroy user assets. All 48 files reverted.
Two clean PRs with zero regressions
Every edge case accounted for, shared S3 storage 100% safe, clean git history, and ready for production deployment.
2 bite-sized PRs, 0 lost bytes, verified review loop, and 100% human control.
Without Briefback: 48 files scrambled
Zero questions asked upfront. S3 lifecycle broken, domain rules ignored, and hours spent undoing a messy commit.
With Briefback: 2 verified, bite-sized PRs
Codebase researched and architectural forks settled before line 1 of code. Safe S3 reuse, self-auditing reviews, and total human control.
The capabilities
One skill. Seven modes.
Briefback installs as one skill. Describe your task in ordinary language - the agent selects the relevant mode and delivers in reviewable stages.
ResearchExplore unfamiliar code and save findings to .briefback/research/
GrillQuestion assumptions and clarify architectural trade-offs in chat
PlanDivide larger work into coherent, reviewable stages
Code reviewSubagent audits the stage for defects, risks, and regressions
HandoffPass context seamlessly when continuing work in a fresh session
TDDWork through one red-green test slice at a time
DocumentTurn completed work into permanent project documentation
Install Briefback once into the agents you already use.
The principles
What Briefback believes
Specs ≠ shipped code
Research, plans, and handoffs are working artifacts first. Commit them, keep them local, or delete them after the PR - Briefback never prescribes their lifetime.
Ceremony is a tax
No spec tree to adopt, no commands to learn before code starts. You clarify the task and the agent carries the workflow from there.
Discipline lives in the loop
Decisions settle before implementation. Scope stays one reviewable stage, and that stage is reviewed before the next begins. Optional phases can be skipped - the order cannot.
Compare
Not an all-in-one system
Spec-driven frameworks move intent into documents and drive the agent from them. Briefback adds a small, opinionated loop to the way you already build software.
vs OpenSpecOpenSpec manages proposals, requirements, designs, and completed changes - when specs are the center of the process. Briefback uses Grill to settle decisions and writes a plan when the work needs durable coordination.
vs Spec KitSpec Kit runs a full phase-based process - constitution, specs, plans, tasks. Briefback starts from an ordinary task and selects phases as needed.
vs unstructured chatFine for a small fix. On larger changes, chat loses decisions and grows unreviewable scope. Briefback keeps both out of history - one stage at a time.
Install
One command, then just work
Pick the agents you use, choose project or global scope, and let Briefback guide your next task.
Init installs the skill through the skills CLI, then asks whether to set up docs - it writes BRIEFBACK.md and adds a pointer to AGENTS.md. Updates are non-interactive after setup.