Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

RAFA Methodology Suite

English · 中文

Hub repo for the RAFA agent stack (openrafa). Start here for the strategy: which agent to use when, how the pieces share one skill directory, and how to install everything from scratch.

Get started first:docs/install-from-scratch.md (中文) — or the one-liner below. The install guide is the product path; tool layering explains the why.

What this is

RAFA ships a multi-tool agent stack. Instead of one runtime, it layers four tools with different strengths and one shared skill directory (~/.agents/skills/) that every runtime reads — install a skill once, use it everywhere.

ToolRole in the stackWhen to reach for it
opencodeMain coding runtime, profile-drivenStructured coding work, slash commands, project agents
piLightweight standalone agentQuick questions, scratch coding, scripted -p runs
ompFull harness with skills + memoryNotes / wiki / knowledge work, long-running sessions
oh-my-openagents (OMOS)Orchestration + model routingMulti-agent decomposition, model tiers, cost control

All four read skills from ~/.agents/skills/ — the shared dependency layer. Repos install into it; agents load from it.

Layers and repos

LayerRoleSourceInstalls into
Shared skillsOne skill dir for every agentopencode-obsidian-wiki + opencode-writing-skills~/.agents/skills/
Command kitSlash commands + agent personasopencode-command-kitadapted fromwaybarrios/opencode-power-pack~/.config/opencode/
Skill runtimePer-skill Python venvsopencode-skill-runtimeRAFA-original~/.config/opencode/.scripts/ (or vault .scripts/)
Wiki skillsVault workflows, 21 skillsopencode-obsidian-wikifork ofAgriciDaniel/claude-obsidian; borrows from Karpathy llm-wiki + kepano/obsidian-skills~/.agents/skills/wiki*
Writing skillsHumanize EN/ZH draftsopencode-writing-skillsvendored fromblader/humanizer + op7418/Humanizer-zh~/.agents/skills/humanizer*

Examples use placeholders. This is not a dump of one person's live config. Configure providers, MCP, and plugins yourself.

Attribution

Please credit upstream authors when you reuse or fork further:

PieceRelationshipUpstream
OMOSDependency, install upstreamhttps://github.com/code-yeongyu/oh-my-openagent
Most slash commandsAdapted / derived, MIThttps://github.com/waybarrios/opencode-power-pack
Power-pack lineagePorts of Anthropic skill workflowshttps://github.com/anthropics/skills · https://github.com/anthropics/claude-code
Wiki skill bundleFork ofhttps://github.com/AgriciDaniel/claude-obsidian
Wiki patternBorrowed idea, behind claude-obsidian + this suitehttps://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
Obsidian substrateBorrowed idea / prefer upstreamhttps://github.com/kepano/obsidian-skills
Defuddle CLIExternal toolhttps://github.com/kepano/defuddle
venv-manager.shWritten for this suiteCyame / openrafa
Local git commands (commit, simplify, …)OpenCode portscommand-kit attribution
Writing skills (humanizer, humanizer-zh)Vendored fromhttps://github.com/blader/humanizer · https://github.com/op7418/Humanizer-zh

Getting started

One command initializes the whole stack (commands, shared skills, skill runtime, optional OMOS):

bash <(curl -fsSL https://raw.githubusercontent.com/openrafa/RAFA/main/get-started.sh)

Or follow the manual path: docs/install-from-scratch.md. Then read docs/tool-layering.md to map tools to scenarios.

Repository map

RepoRemoteInstalls into
opencode-methodology (this)openrafa/opencode-methodologydocs only
opencode-command-kitopenrafa/opencode-command-kit~/.config/opencode/
opencode-skill-runtimeopenrafa/opencode-skill-runtime~/.config/opencode/.scripts/
opencode-obsidian-wikiopenrafa/opencode-obsidian-wiki~/.agents/skills/
opencode-writing-skillsopenrafa/opencode-writing-skills~/.agents/skills/

Design principles

  • Shared before specific: public dependencies (skills/, commands/) live where every agent can read them — ~/.agents/skills/ is the single skill source.
  • Tool layering over tool loyalty: pick the runtime by scenario; profiles (opencode.*.json) keep one runtime honest per mode (clean / OMOS / power-pack / ponytail).
  • AGENTS.md only for project rules; call the runtime Agent, not a vendor product name.
  • Publish examples, not private runtime state. Providers, model routing, and vault paths stay personal.
  • Keep Chinese and English docs first-class; language switchers link EN↔ZH.

Docs index

TopicEnglish中文
Install from scratchinstall-from-scratch.mdinstall-from-scratch.zh-CN.md
Tool layering (pi / omp / opencode / omo)tool-layering.mdtool-layering.zh-CN.md
Philosophyphilosophy.mdphilosophy.zh-CN.md
Migration / AGENTS.mdmigration-guide.mdmigration-guide.zh-CN.md
OMOS / oh-my-openagentsomos.mdomos.zh-CN.md
Componentscomponent-matrix.mdcomponent-matrix.zh-CN.md
Wiki overviewwiki-workflows.mdwiki-workflows.zh-CN.md
Python runtimepython-skill-runtime.mdpython-skill-runtime.zh-CN.md
Case study, optionalcase-study.mdcase-study.zh-CN.md

License & credit

MIT License — Copyright (c) 2026 Cyame. See LICENSE.

Safety

Do not publish live opencode.json, oh-my-openagent.json, auth files, local vault paths, or provider credentials. Use examples/ as placeholders only.

About

Philosophy‌ of RAFA.

Resources

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors