Smart Codebase — Productivity skill for Claude Code
A plugin for OpenCode.
How to install Smart Codebase
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cxOrz/smart-codebase and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Smart Codebase does
A plugin for OpenCode. Make your coding agent learn and grow with every task.
Alternatives in Productivity
- Grow A Product — Workflow recipe — turn a growth goal into a funnel diagnosis, experiment backlog, retention loop, and lifecycl 1.3k ★
- Agentacct — See what your coding agents did and what it cost 665 ★
- Cezar — Cezar is a parallel coding agents orchestrator 174 ★
README
Smart-Codebase
[English](README.md) | [简体中文](README.zh-cn.md)
**Turn your OpenCode into a senior project expert that learns and grows with every task.**
🔥 The Pain Point
Every time you start a new session, AI starts from scratch. It doesn't remember:
- Why you chose that architecture?
- What gotchas exist in your codebase?
- What patterns your team follows?
- What you learned from debugging that nasty bug?
**You explain the same things over and over.**
✨ The Solution
Smart-Codebase gives your AI permanent memory through SKILL files. It uses an AI agent to autonomously capture knowledge from your conversations and project files.
graph TB
Start([Session Work])
Init[sc-init command]
Update[sc-update command]
InitAgent[AI Scans Source Code]
UpdateAgent[AI Analyzes Session]
SkillFile[.opencode/skills/project/SKILL.md
OpenCode Auto-Discovery]
RefFiles[.opencode/skills/project/reference/*.md
Deep Dive Docs]
NewSession([New Session Starts])
Injector[Context Injector]
Start --> Init
Start --> Update
Init --> InitAgent
Update --> UpdateAgent
InitAgent -->|writes| SkillFile
InitAgent -->|writes| RefFiles
UpdateAgent -->|updates| SkillFile
UpdateAgent -->|updates| RefFiles
NewSession --> Injector
Injector -->|inject hint| SkillFile
📖 Table of Contents
⚙️ How It Works
- You work normally - Edit files, debug issues, and make architectural decisions.
- First time setup - Run
/sc-initonce to scan your source code and generate comprehensive SKILL files. - Ongoing capture - When you reach a milestone, run
/sc-updateto extract knowledge from the current session. - AI Agent analyzes - A child AI se
Related Skills
Cheap Delegate
Smart cheapest-adequate delegation — route a task to Ollama workers, OpenCode agents, Codex, Sonnet or Opus vi
Forgeo
A scheduled, agent-driven software factory. Keep a plain JSON backlog; Forgeo runs your coding agent (Claude C
Cardex
Local task queue & scheduler that squeezes Claude's 5-hour usage windows dry — and now any Anthropic-compatibl
Coducktor
Coducktor is a parallel coding agents orchestrator. Type a task, pick a workflow and an agent — Claude Code, C
Am
Coordinate other coding agents (Claude Code, Codex, opencode) in tmux panes with the am CLI: start a helper, h
Agent Ps
A process table for coding agent sessions. Claude Code, Codex, OpenCode, Hermes, Pi, CommandCode and Copilot i
Related Agents
Aux Delegator
Invokes external CLI coding agents (Codex, OpenCode, Claude -p, ACP). Use whenever a task should be offloaded
Project Keeper
Track project lifecycle - 🌱 Seed → 🌕 Grow → 🎓 Grad 📚 Learn
Router Scout
Read-only codebase recon for smart-task-router; writes .router/CONTEXT.md.