‹ 首页

skill-os-builder

@naveedharri · 收录于 1 周前

Stand up a self-contained second-brain "OS" that lives entirely inside a Claude skill — a short SKILL.md router plus context files, no vault, cloud, or MCP server. Use when the user says "set up a skill OS", "build my second brain as a skill", "skill OS", or wants the simplest portable AI OS.

适合你,如果想把个人知识库直接嵌入 Claude 技能中

/ 下载安装
skill-os-builder.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add naveedharri/benai-skills/skill-os-builder
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- naveedharri/benai-skills/skill-os-builder
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify naveedharri/benai-skills/skill-os-builder
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
37GitHub stars
~1.3K最小装载
~1.8K含声明引用
~1.8K文本包总量
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · 946a3d7

Skill OS Builder

You help the user create a Skill OS: their entire second brain packaged as one Claude skill. It is the easiest of the three OS tiers (Skill / Cloud / Local) — no Obsidian, no cloud sync, no MCP server. The skill's SKILL.md is the router; the context/ files are the brain.

Read references/structure-spec.md for the canonical folder shape (shared with the Cloud OS and Local OS so the user can graduate between tiers). Read references/routing-patterns.md before writing the generated router.

Tradeoffs — say these upfront
  • ✅ Easiest, zero infra, fully portable (it's just a folder).
  • ✅ Claude reads it natively; no setup beyond dropping it in ~/.claude/skills/.
  • ❌ Single-user, no live multiplayer, no realtime sync across devices.
  • ❌ Grows in one folder — great for personal use, not a team vault.
Build flow
  1. Explain the tradeoffs above; confirm Skill OS is the right tier.
  2. Interview (keep it short):
  3. Name / what to call the OS
  4. Their role + voice/preferences (for about-me.md)
  5. What they want to track — pick from: projects, notes/intelligence, people, systems/routines. Only include what they need.
  6. Scaffold the OS folder from templates/:
  7. SKILL.mdtemplates/_SKILL.md.tmpl (short router: CLAUDE.md-style rules
  8. routing table — NO long content)
  9. context/*.md ← the templates they chose
  10. Frontmatter must be valid YAML. Keep description on ONE line wrapped in double quotes (description: "…"). Never leave it as an unquoted multi-line scalar — colons (Trigger phrases:) and inner quotes break the YAML and the skill is rejected on upload. Don't put " inside the quoted description; use plain words for trigger phrases.
  11. Confirm the layout — DON'T skip this. Show the user the full tree you just created (the folder, SKILL.md, and every context/ file) and ask: *"Does this layout look right, or do you want to add / rename / remove anything — another context file, a sub-folder, etc.?"* Apply whatever they ask, and keep the SKILL.md routing table in sync with the final file list before moving on.
  12. Populate the content — DON'T ship empty or placeholder files. Ask the user in ONE go to dump everything they have at once — *"Upload any files or just paste all your context here — projects, notes, people, routines, whatever you've got. Don't worry about organizing it; I'll sort it into the right files."* Then YOU split that material across the context files by topic (projects → projects.md, people → people.md, etc.). Don't make them go file by file. After sorting, show what landed where and ask if anything's miscategorized or missing. If a file ends up with nothing, leave a one-line note of what it's for rather than fake filler.
  13. Package as a zip (so they can upload it anywhere — Cowork, Claude Desktop, the API). Zip the contents of the OS folder so SKILL.md sits at the root of the zip — never wrap it in an extra folder. Run from inside the generated folder: ```bash cd <name> && zip -rX "../<name>.zip" . -x '.*' '*/.*' ``` Then verify before handing it over:
  14. unzip -l <name>.zip — the listing MUST show SKILL.md at the top level (e.g. SKILL.md, context/...), NOT <name>/SKILL.md.
  15. Frontmatter parses as YAML: unzip -p <name>.zip SKILL.md | sed -n '/^---$/,/^---$/p' | python3 -c 'import sys,yaml; yaml.safe_load(sys.stdin.read().strip().strip("-"))' — it must exit cleanly with no error. Hand them the path to <name>.zip.
  16. Place + test: tell them to put it in ~/.claude/skills/<name>/, restart, and ask Claude something that should route to a context file. (Or just upload the zip into Cowork and start using it there.)
  17. Graduating later: the same context/ shape moves straight into a Cloud OS or Local OS — point them to cloud-os-builder when they need sync.
Rules
  • Keep the generated SKILL.md SHORT — behavior + routing table only. Content lives in context/.
  • Don't create context files the user didn't ask for.
  • One topic per context file; tell them to split a file when it gets long.
  • Always confirm the layout and gather real content before zipping. Never hand over a skill of empty template files — the scaffold is step 1, the user's actual projects/people/notes are the point. Ask for content; don't assume.
  • Zip format = Cowork-ready. SKILL.md must be at the zip root, not inside a wrapper folder — a wrapped zip (<name>/SKILL.md) is the Console format and Cowork rejects it as malformed. Always zip from inside the folder (`cd <name> && zip -rX ../<name>.zip .), exclude dotfiles (-x '.*' '*/.*'`), and confirm with unzip -l before delivering.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。