بنقرة واحدة
bip-kaizen
Reflect on what just happened and propose a concrete improvement to skills, CLAUDE.md, docs, or workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Reflect on what just happened and propose a concrete improvement to skills, CLAUDE.md, docs, or workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Check remote server CPU, memory, and GPU availability via SSH
Cold-start into a worktree/clone from a fresh conversation — read the PR, issue, and any status files, figure out where things stand, then STOP and ask the user what to do next. Use for a fresh conversation dropped into a bip-spawn or bip-epic-spawn worktree/clone that already has history (a PR, an in-progress phase, or a stalled worker).
Quick poll of tracked EPICs and code repos for new manuscript-relevant results
Persist manuscript session state before context reset
Cold-start for a manuscript session — the paper is the source of truth and shared context; discuss results, orchestrate research through issues/PRs, and update the paper as threads complete
Spawn a Claude session in a clone for an EPIC issue
| name | bip-kaizen |
| description | Reflect on what just happened and propose a concrete improvement to skills, CLAUDE.md, docs, or workflow. |
Reflect on friction or confusion from the current session and propose a concrete improvement.
"Kaizen" means continuous improvement. After any interaction where something didn't go smoothly—agent couldn't find files, a skill was confusing, documentation was missing, a workflow was clunky—the user can invoke /bip-kaizen and the agent will:
/bip-kaizen
/bip-kaizen "the bip search kept failing because the schema was stale"
$ARGUMENTS is an optional hint about what to improve. If empty, infer from conversation context.
Review the conversation history for friction points. Look for:
If $ARGUMENTS is provided, focus the diagnosis there. Otherwise, scan the full conversation.
Identify the root cause, not just the symptom. For example:
bip rebuild as a first stepDetermine where the fix belongs:
| Target | When | Example |
|---|---|---|
| CLAUDE.md (current project) | Agent lacked project-specific context | Missing build command, file path, convention |
CLAUDE.md (global ~/.claude/CLAUDE.md) | Agent lacked cross-project context | Personal workflow preference, tool config |
Skill file (bipartite skills/) | A /skill gave wrong or incomplete guidance | Missing flag, outdated workflow, bad example |
Auto-memory (~/.claude/projects/*/memory/) | Pattern worth remembering but not suitable for CLAUDE.md | Debugging insight, one-off workaround |
| Code/docs in current repo | Missing README, help text, or inline docs | CLI --help text doesn't match behavior |
| Code in bipartite repo | Bug or missing feature in a bip command or skill | Skill needs new step, CLI needs better error message |
| New skill | Repeated workflow that should be a /command | Multi-step process done manually every time |
| GitHub issue | Improvement too large for a quick fix | Needs design discussion, multi-file refactor |
Present the diagnosis and proposed fix clearly:
## Kaizen: [short title]
**What happened**: [1-2 sentence description of the friction]
**Root cause**: [Why it happened]
**Proposed fix**: [What to change and where]
**Target**: [CLAUDE.md / skill / code / issue / etc.]
Then show the specific change—either as a diff, a new section to add, or a description of the code change.
STOP and ask the user before making any changes. Present options:
Based on user choice:
Apply now (CLAUDE.md, skill, or memory edits):
/Users/matsen/re/bipartiteCreate a PR (bipartite repo changes):
The bipartite repo (matsen/bipartite) structure:
skills/ # Skill definitions (each skill is a directory with SKILL.md)
cmd/ # bip binary source (Go, spf13/cobra)
internal/ # bip binary source (Go internal packages)
docs/ # Guides and documentation
agents/ # Agent definitions
Skills are symlinked from skills/<name>/ to ~/.claude/skills/<name> for global availability.
cd /Users/matsen/re/bipartite
git pull origin main
git checkout -b kaizen/<short-description>
# Make the changes
git add <files>
git commit -m "kaizen: <description>"
gh pr create --title "kaizen: <description>" --body "..."
Write an issue (using /bip-issue-file pattern):
ISSUE-kaizen-<topic>.md in the current repo/bip-issue-file workflow to submit/Users/matsen/re/bipartite/skills/. The repo is matsen/bipartite on GitHub