Add project-local CLI routing for skills-based setup#159
Draft
hmishra2250 wants to merge 3 commits into
Draft
Conversation
hmishra2250
force-pushed
the
hm/router-card-cli-state-experiment
branch
from
July 18, 2026 12:00
ac71610 to
2b7f539
Compare
hmishra2250
changed the base branch from
hm/router-card-launch-product
to
hm/router-card-state-service
July 18, 2026 12:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
firecrawl initcompletes an eligible project state: authenticated CLI, installed skills, explicit Claude/Codex agent, and explicit project path--no-router-cardas a per-run opt-out and--remove-router-cardas a bounded removal commandExact journey
Default-on eligible setup:
firecrawl init --yes --agent claude --project /path/to/project # or firecrawl init --yes --agent codex --project /path/to/projectThis writes only the project-local native context file (
CLAUDE.mdfor Claude,AGENTS.mdfor Codex). It does not write a global instruction file.Opt out for one run:
Remove only the managed block without rerunning onboarding:
Package installation alone, login/logout, unsupported agents, missing authentication, skipped skills, and commands without an explicit project do not write a card.
Decision-grade evidence
P2 ran 384 immutable Convex-backed traces across Claude Sonnet 5 and Codex Terra at 30-way E2B concurrency.
Recommendation: ship this project-local card for the CLI + skills state and leave native web tools available. The result transfers by machine-state equivalence, not by command-name similarity.
Aggregate decision artifact: Convex
kg2e1vb0xg4k95v70wb2ahzn018arvnv. Raw traces and receipts are not stored in Git.Scope
This draft does not write global
CLAUDE.md/AGENTS.md, mutate project files during package install or login/logout, or suppress native web tools. Additional onboarding aliases should adopt the card only after a small state-parity canary.Verification
pnpm test(401 passed)pnpm run buildgit diff --check