Canonical repository for agent skills, scripts, and shared instructions. Use this as the source of truth for all projects. This is a living document for how I like to build projects and write code.
knowledge-base/
├── skills/<skill>/ # Every skill, as real files
├── plugins/solar/ # The solar plugin: solar-mode and all it needs
├── .claude-plugin/marketplace.json # Catalog for Claude Code and Codex
├── .devin-plugin/plugin.json # Meta-plugin for Devin
├── docs/AGENTS.md # Shared agent instructions (code philosophy, etc.)
├── scripts/ # Utility scripts
└── setup/ # New Mac setup: Brewfile, dotfiles, setup.sh
The repo follows the Agent Plugins format, so Devin, Claude Code, Codex and Cursor read the same files. Contributor rules are in CONTRIBUTING.md.
plugins/solar is the working style as one installable unit. solar-mode is its entry point, and the plugin holds every skill solar-mode routes to, directly or through another skill: 53 of the 73 skills here. bun run validate fails when a skill in the plugin links to one outside it.
Claude Code
/plugin marketplace add sunwrobert/knowledge-base
/plugin install solar@knowledge-base
Codex: codex plugin marketplace add https://github.com/sunwrobert/knowledge-base.git.
Devin: Customize > Plugins > Add plugin > From repository > sunwrobert/knowledge-base, or devin plugins install sunwrobert/knowledge-base#plugins/solar.
Cursor: install plugins/solar as an Agent Plugin.
skills/ holds 73 skills, 20 of them outside the solar plugin. Link them at user scope so every agent (Claude Code, Codex, Cursor, Pi) picks them up. The loop skips any name that already exists, so an employer's internal version of a skill keeps precedence on a work machine:
mkdir -p ~/.agents/skills ~/.claude/skills
for d in "$HOME"/Repositories/knowledge-base/skills/*/; do
n=$(basename "$d")
[ -e ~/.agents/skills/"$n" ] || ln -s "${d%/}" ~/.agents/skills/"$n"
[ -e ~/.claude/skills/"$n" ] || ln -s ../../.agents/skills/"$n" ~/.claude/skills/"$n"
done- Skills with
metadata.github-repoin their frontmatter are installed withgh skill install <owner>/<repo> <path> --pin <sha> --dir skillsand stay byte-identical to that pin. Refresh them by reinstalling at a new pin, never by hand-editing..prettierignorekeeps the formatter off them. - The rest are personal skills.
skill-sources.jsonrecords the source of every skill.
- Treat this repo as the canonical mirror for shared scripts and instructions.
- When editing instructions or scripts here, sync changes to consuming repos.
- Scripts are designed to run from this repo's root (not portable to other projects).
Consuming repos should use a pointer to this repo's instructions:
READ ~/Repositories/knowledge-base/docs/AGENTS.md BEFORE ANYTHING (skip if missing).
<!-- repo-specific rules below -->This keeps instructions centralized. Edit once here; all repos inherit updates.
Utility scripts meant to be run from this repo's root:
bun scripts/<script>.tsScripts may depend on this repo's dependencies and structure. They are not portable.
bun installUses tsgo (native TypeScript) for fast typechecking:
bun run typecheckEffect Language Service is configured for enhanced diagnostics.