How niklasschaeffer/supercode-revised works
SuperCode is an OpenCode extension framework whose principal workflow is project initialization, context loading, command-driven task execution, agent delegation, and memory persistence. Its repository also contains a React landing page. The framework’s command and agent files are present in the tree, but their implementations were not sampled; workflow links below rely on explicit README descriptions. The sampled flag parser only echoes a query, so it does not establish behavioral-flag execution.
Main entry points: command Command workflows · components Landing sections · agent Specialist agents · App.tsx Landing app
Components 18
Framework workflow
- Command workflows
command - Flag parser
tool/flag-parser.ts
Memory and integrations
- Knowledge Graph
MCP_Knowledge_Graph.md - Memory Bank
MCP_Memory_Bank.md - MCP integrations
MCP_Chrome_Dev_Tools.md - Project memory files
.aim
Agent and command resources
- Specialist agents
agent - Templates
templates
Landing page
- Landing app
landingpage/src/App.tsx - Landing sections
landingpage/src/components - Page content data
landingpage/src/utils/constants.ts - Code examples
landingpage/src/components/ui/code-block.tsx - Installation guide
landingpage/src/components/Installation.tsx - Hero section
landingpage/src/components/Hero.tsx - Browser entry
landingpage/src/main.tsx
Other components
- Developer
- OpenCode
- Web visitor
Connections 18
- Developer → OpenCode: uses framework
README.md - OpenCode → Command workflows: runs commands
README.md - Command workflows → Specialist agents: delegates tasks
README.md - Command workflows → Flag parser: accepts flags
- Command workflows → Knowledge Graph: initializes and saves
README.md - Command workflows → Memory Bank: initializes and saves
README.md - Command workflows → Project memory files: creates memory
README.md - Specialist agents → MCP integrations: uses integrations
- Command workflows → Templates: uses templates
README.md - Web visitor → Browser entry: opens page
landingpage/src/main.tsx - Browser entry → Landing app: renders
landingpage/src/main.tsx - Landing app → Landing sections: renders sections
landingpage/src/App.tsx - Landing sections → Page content data: reads content
landingpage/src/components/Installation.tsx - Landing sections → Code examples: renders examples
landingpage/src/components/Installation.tsx - Landing sections → Installation guide: includes
- Landing sections → Hero section: includes
- Installation guide → Code examples: renders
landingpage/src/components/Installation.tsx - Hero section → Page content data: reads content
landingpage/src/components/Hero.tsx