@jigoooo/triphos-frontend-bootstrap
v0.12.6
Published
npx installer and dual-plugin marketplace source for Triphos frontend bootstrapping.
Maintainers
Readme
triphos-frontend-bootstrap
A Triphos frontend bootstrap tool for Claude Code and Codex.
Install
npx @jigoooo/triphos-frontend-bootstrap@latestAfter install:
- plugin setup
- global
tfbinstall - project bootstrap via
triphos-frontend-init - updates via
tfb update - cleanup via
tfb delete
Supports:
- Claude Code
- Codex
Runtime Activation
- Generated or adopted repositories carry tracked
.codex/config.toml,.codex/hooks.json, and.claude/settings.json. - Codex hooks depend on
codex_hooks = truein.codex/config.toml. - Claude uses project-level
.claude/settings.json;.claude/settings.local.jsonoverrides it locally when present. - Policy files existing in a repo and runtime activation being effective are separate concerns. Use the doctor flow to verify both.
Lifecycle Responsibilities
| Surface | Responsibility | | --- | --- | | install scripts | register plugin, sync marketplace/skills, report activation prerequisites | | doctor | diagnose Codex activation, Claude settings precedence, and install health | | hooks | run conditional stop-time verification only when relevant files changed | | skills | scaffold/adopt baseline and align codebases | | docs | record official runtime assumptions and operational recovery paths |
Main skill
triphos-frontend-initCreates a new Triphos frontend project from the bundled template. This is the default target for the strong Triphos harness.triphos-frontend-adoptExplicitly opts an existing frontend project into the same Triphos runtime, tooling, API, documentation, and verification baseline used by the template.
Policy skills
triphos-fsd-refactorUsed for FSD cleanup, boundary repair, and moving code into the right slice or layer.triphos-react-lint-rulesUsed to align code with React 19, React Compiler, hooks, and linting conventions.triphos-api-client-setupUsed after the baseline is in place when a project needs additional entity APIs, raw API migration, or deeper@jigoooo/api-clientcustomization.
Project generation happens inside Claude/Codex through the triphos-frontend-init skill.
The strong harness is meant for generated repositories by default. Existing projects only get the same contract through an explicit triphos-frontend-adopt migration.
When the generated project is standalone, the init flow also initializes git and creates an initial commit after verification. When the project is created inside a parent repository, nested git bootstrap is skipped.
Cleanup
tfb deleteThis removes the installed Triphos plugin from Claude and Codex, deletes synced Codex skills, and cleans the Claude plugin cache and marketplace clone when no Triphos install remains.
It keeps the global tfb CLI installed.
Model Routing Strategy
This plugin routes agents to different models based on task complexity, reducing token costs. Even if the user runs the main session on Opus (or GPT-5.5), subagents are automatically routed as follows.
Model per Agent
| Agent | Claude | Codex | reasoning_effort |
| --- | --- | --- | --- |
| frontend-bootstrap-planner | opus | gpt-5.5 | high |
| frontend-bootstrap-executor | sonnet | gpt-5.4 | medium |
| frontend-bootstrap-verifier | haiku | gpt-5.4-mini | low |
| frontend-bootstrap-refactor-reviewer | sonnet | gpt-5.4 | medium |
check-model-routing.mjs가 agents/*.md frontmatter model:과 위 표가
일치하는지 매 verify:repo에서 검증한다. 어느 한쪽이 변경되면 다른
쪽도 같이 갱신할 것.
Model per Skill (single-call)
triphos-theme-setup,triphos-react-lint-rules: Claudemodel: haiku, Codexgpt-5.4-minirecommended.
Recommended Codex profile config
~/.codex/config.toml:
[profiles.plan]
model = "gpt-5.5"
model_reasoning_effort = "high"
[profiles.exec]
model = "gpt-5.4-mini"
model_reasoning_effort = "low"Start with codex --profile plan / codex --profile exec.
Environment variable escape hatch
To temporarily force all subagents to a cheaper model:
CLAUDE_CODE_SUBAGENT_MODEL=haiku claudeSee .claude/plans/staged-chasing-acorn.md or the ADR for full rationale.
