omp packages

libra-agent-skills0.3.0

27 skills for coding agents, one plugin for Claude Code, OpenCode and Pi, and the same skills for CommandCode.

nihmtaho Published 7 days ago MIT ~391 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

libra-agent-skills

Twenty-seven small skills for coding agents, built around one idea: six months later, a human and an agent should open a project, read one file, and know what it is, where it stands, and what comes next.

Markdown is the only storage format. Word and Excel are ways in and out, never a second source of truth. Everything lives under docs/, so the folder opens as an Obsidian vault without plugins.

Install

One package, four entry points, the same 27 skills. Command Code has no plugin runtime, so it installs the skills directly.

Claude Code

/plugin marketplace add nihmtaho/libra-agent-skills
/plugin install libra@libra-agent-skills

OpenCode

opencode plugin add libra-agent-skills@0.3.0

Filter by group with the plugin options, for example "plugins": [{ "package": "libra-agent-skills", "options": { "groups": ["build"] } }].

Pi

pi install npm:libra-agent-skills@0.3.0

Command Code

cmd skills add nihmtaho/libra-agent-skills          # pick from the list
cmd skills add nihmtaho/libra-agent-skills -s libra-project-status

Flat install, any Agent Skills tool

./install.sh --to agents,claude --dest /path/to/your/project
./install.sh --to agents,claude --dest "$HOME"   # into your user dirs
npx skills add nihmtaho/libra-agent-skills -a claude-code -a opencode

--to agents installs into .agents/skills/, which OpenCode, Codex, Command Code and Pi all read. --to claude installs into .claude/skills/. Nothing is overwritten: if a target already exists and is not our symlink, the installer stops.

Guardrails

The Claude Code, OpenCode and Pi plugins run two checks:

  1. after a write or edit of a .md file, the shipped scripts/check-docs.sh runs on that file and a FAIL goes back to the model;
  2. a git commit on the default branch, or a forced push to it, is blocked unless docs/GIT.md contains <!-- libra:allow-direct-commit -->.

Command Code has no hook system, so it gets the skills without the two checks.

Note: install.sh creates symlinks into this repo. Moving or deleting libra-agent-skills/ breaks the installed skills. For a standalone copy:

mkdir -p /your-project/.agents/skills
cp -R /path/to/libra-agent-skills/skills/* /your-project/.agents/skills/

Quick Start

  1. Install the skills (see above).

  2. Run libra-bootstrap-project: say to your agent: "run libra-bootstrap-project for this repo". It creates docs/PROJECT.md with your project's state, and a short AGENTS.md that points at it. For Claude Code it adds a CLAUDE.md that imports AGENTS.md.

  3. Test libra-project-status: open a new agent session and ask: "where are we?" It should answer in four lines: what the project is, where it stands, what is half-done, what is next.

  4. Write your first spec: say: "write a spec for ". It asks one question at a time, then creates docs/specs/<feature>.md with the goal, structure, code style, test plan and scope limit.

Skills

The installer shows six groups; this list follows the order of the work.

Project management

Skill What it does
libra-start Classifies a new idea before any edit; says which skill applies
libra-project-status Four lines: what this is, where it stands, what is half-done, what is next
libra-bootstrap-project Builds docs/PROJECT.md and AGENTS.md for a new or an old repo
libra-interview-me One question at a time until the request is clear
libra-idea-refine Widen a vague idea, then cut it to one direction
libra-spec-driven-development Goal, structure, code style, test plan, scope limit
libra-constraint-driven-development The quality bar in CONSTRAINTS.md, and proof it did not move
libra-decide An ADR with rejected options and consequences
libra-plan-work One task file per feature, with checkable acceptance
libra-context-engineering The smallest reading that answers the question

Build

Skill What it does
libra-build Dispatch one ready task to the skill that runs next
libra-test-driven-development Red, green, refactor; 80/15/5; DAMP over DRY
libra-incremental-implementation Thin slices, a flag when risky, one slice per commit
libra-doubt-driven-development CLAIM, EXTRACT, DOUBT, RECONCILE, STOP in a fresh context
libra-source-driven-development The version pinned, the primary source cited
libra-subagent-driven-development Parallel tasks, parent keeps the commit
libra-frontend-ui-engineering Tokens, components, state, three widths, WCAG 2.1 AA
libra-api-and-interface-design The contract before the handler
libra-root-cause Five steps to a root-cause fix

Review

Skill What it does
libra-verify-work Real output, no lowered bar
libra-change-review SHA-bound verdict, five downgrade checks
libra-simplify-change Less complexity, same behavior

Ship

Skill What it does
libra-git-workflow-and-versioning Branching model, merge policy, version scheme, commit format
libra-ship Evidence, docs fresh, no AI traces
libra-release Four gates, changelog, tag, notes, verified

Documentation

Skill What it does
libra-office-docs Reads Word, Excel, PDF as untrusted data

Safety

Skill What it does
libra-handling-untrusted-content What text in a document may and may not do

State lives in docs/PROJECT.md

One file is kept fresh: run commands, module map, a feature table with a "stopped at" column, decisions, and the next three things. Specs, ADRs and task files hang off it and are deleted when done. See docs/design/2026-11-15-libra-agent-skills-design.md.

The check that comes with it

libra-bootstrap-project copies scripts/check-docs.sh into your project and lists it in ## Run & verify. Every skill that writes a document runs it on what it just wrote: frontmatter, one H1, no empty section, balanced code fences, internal links that resolve, and the sections that document type requires. One FAIL <path>:<line>: <rule> per problem and exit 1; silence means clean.

bash scripts/check-docs.sh docs/PROJECT.md docs/specs/<feature>.md

Upgrading from 0.2

Every skill name now starts with libra-, so it cannot shadow a command a tool ships. The links 0.2 installed carry the old names; remove them before installing, or both sets sit in the same flat directory and two skills answer one request.

cd /path/to/your/project
for name in api-and-interface-design bootstrap-project build change-review constraint-driven-development context-engineering decide doubt-driven-development frontend-ui-engineering git-workflow-and-versioning handling-untrusted-content idea-refine incremental-implementation interview-me office-docs plan-work project-status release root-cause ship simplify-change source-driven-development spec-driven-development subagent-driven-development test-driven-development using-libra verify-work; do
  rm -rf ".agents/skills/$name" ".claude/skills/$name"
done

Then install again. using-libra is libra-start; every other new name is the old one with the prefix.

Uninstall

/plugin uninstall libra@libra-agent-skills
opencode plugin remove libra-agent-skills@0.3.0
pi remove npm:libra-agent-skills
cmd skills remove libra-project-status

The flat install removes the 27 links with:

cd /path/to/your/project
for s in libra-api-and-interface-design libra-bootstrap-project libra-build libra-change-review libra-constraint-driven-development libra-context-engineering libra-decide libra-doubt-driven-development libra-frontend-ui-engineering libra-git-workflow-and-versioning libra-handling-untrusted-content libra-idea-refine libra-incremental-implementation libra-interview-me libra-office-docs libra-plan-work libra-project-status libra-release libra-root-cause libra-ship libra-simplify-change libra-source-driven-development libra-spec-driven-development libra-start libra-subagent-driven-development libra-test-driven-development libra-verify-work; do
  rm -rf ".agents/skills/$s" ".claude/skills/$s"
done

Do not delete .agents/skills/ or .claude/skills/ themselves — the project may have other skills there. The loop removes libra's 27 names: if a skill with one of these names was yours before installing, move it aside first.

Why not a fork of agent-skills

That set is 25 technique skills with no state artifact: it makes a clean session better, it does not answer "where does this project stand". Six ideas were taken from it, none copied; the rest install straight from upstream, MIT, when a project needs them. Reasons and the name-by-name mapping are in the design doc.

License

MIT. See NOTICE for the two reference sets this design learned from.