hermes-pi 6afda827d4
ci / autotest (macos-latest, 3.11) (push) Waiting to run
ci / autotest (macos-latest, 3.12) (push) Waiting to run
ci / autotest (macos-latest, 3.13) (push) Waiting to run
ci / autotest (windows-latest, 3.11) (push) Waiting to run
ci / autotest (windows-latest, 3.12) (push) Waiting to run
ci / autotest (windows-latest, 3.13) (push) Waiting to run
ci / autotest (ubuntu-latest, 3.11) (push) Failing after 37s
ci / autotest (ubuntu-latest, 3.12) (push) Failing after 35s
ci / autotest (ubuntu-latest, 3.13) (push) Failing after 36s
feat(tables): id-first columns and a requires column (0.25.0)
Acting on the 2026-12-06 table-columns UX review and the owner's
decisions: the skill and source columns are gone - the id's group is
the source name (now enforced at feed validation, SPEC item 14.2.1),
and the skill-name part of the id cell is green. Dependencies moved
into a requires column of names, sized to the remaining width and
wrapping under the row; show keeps its full requires: line, and a
source column appears only for rows whose source differs from the
id's group (untracked, unknown, mixed). list rows whose installs
disagree about the id show the bare skill name, and no row line
carries trailing spaces.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-12-06 12:23:31 +01:00
2026-11-29 18:09:13 +01:00

phronesis

A chest of skills: a repository of SKILL.md instruction packages and a CLI that lists them and installs them into an agent harness such as Vibe.

The name is phronesis — Aristotle's word for practical wisdom: the knowledge a skilled practitioner has, as opposed to abstract theory (episteme).

Install

curl -LsSf https://astral.sh/uv/install.sh | sh   # or: winget install astral-sh.uv
uv tool install phronesis
uv tool update-shell         # once: puts uv's bin directory on PATH
phronesis --init             # tab completion (optional)
phronesis                    # the usage block; `phronesis catalog` lists the skills

phronesis --update upgrades phronesis with the tool that installed it (uv tool upgrade phronesis, or pipx), prints the old and new version, and retries with --system-certs on Windows when a proxy's TLS certificate is not trusted; --update --dry-run only prints the command. It does not touch installed skills: phronesis update does that. pipx install phronesis and pip install phronesis work too. Users who already have a pipx install should pipx uninstall phronesis before the uv install, so only one phronesis is on PATH. Installed skills and sources.json live outside the tool environment and survive the switch.

Requirements: Python 3.11.4 or newer (the tar data filter needs it), and git on PATH for skills and sources that come from a git repository. On Windows, source edit opens Notepad when no editor is set.

Command line

The grammar follows winget/apt: a verb, then its arguments. The catalog tables show an id and a source column; bundled skills have the id builtin.<name> and the source builtin.

phronesis                     usage block, apt style (version and the verbs)
phronesis catalog             list every skill of every registered source
phronesis search <regex>      case-insensitive regex over name, id, description, category
phronesis show <skill>        one skill card plus an install hint
phronesis install <skill>     install globally; --project for the project scope;
                              the word is an id (acme.parser) or a name that one
                              source holds; --source picks the origin source;
                              --harness vibe|claude-code|all picks the target
phronesis uninstall <skill>   remove it again (--project for the project scope)
phronesis update [skill]      update every installed skill, or just one
phronesis list                list every installation, tracked or untracked
phronesis verify              check installed files against the recorded hashes
phronesis outdated [skill]    compare installed versions with the origins
phronesis export <file>       write the installed set as a lock file (- for stdout)
phronesis import <file>       install the set a lock file records
phronesis source add <ref>    register a source feed (path, URL, or repo)
phronesis source list         list the registered sources and cache ages
phronesis source update       re-read every source from its origin
phronesis source remove <name>  unregister a source (installed skills stay)
phronesis source edit         open the sources file in your $VISUAL / $EDITOR
phronesis --init              register tab completion (bash, zsh, PowerShell)
  • Global flags: --offline reads only cached feeds and checkouts (no network); --json prints catalog, search, list, verify, outdated, and source list as JSON; -y / --yes confirms the plan but fails on any protected-file conflict instead of choosing. verify exits 1 when an install is missing or modified.
  • Harnesses: vibe (~/.vibe/skills) and claude-code (~/.claude/skills). With no --harness, phronesis uses the first one whose config directory exists on this machine, else vibe.
  • install and update print a colored draft (names green, proposed versions yellow, an installed version bright blue), then one proceed? [Y/n] question (the default is yes); -f / --force skips it. An installed skill shows as would update <old> -> <new>, or as already up to date and is left untouched.
  • phronesis list shows one row per installation with its id and source: a bundled install has the id builtin.<name>; an install with no known group (tracked but no longer bundled, or found on disk with no state entry) shows the bare name and the source unknown or untracked, and the skill directory path under each row.
  • Installations are recorded in a per-machine state file (~/.config/phronesis/installed.json), which powers update.
  • Every skill arrives through one uniform source-feed pipeline (SPEC section 14): the bundle itself is the builtin source, a packaged feed registered by default, and source add / source edit manage ~/.config/phronesis/sources.json. A new home starts with two default sources, builtin and phronesis (the phronesis-skills repository, see below). Fetching the default feed installs nothing: only install plus a confirmed draft writes a skill. Both names are reserved for their refs, so no other feed can take them. A feed is one JSON document whose entries carry an id (<group>.<name>, e.g. acme.parser), a name, description, category, and an install spec: local (a directory beside the feed - offline), archive (https or file URL with a mandatory sha256), or git (a repo dedicated to one skill, pinned to a tag or commit). No version lives in feeds: the SKILL.md of the fetched skill is read live, so remote entries show - in catalog tables until installed. Every entry carries a mandatory files whitelist (glob patterns, SPEC item 14.2.1): only matching files materialize into the harness, so a fetched repository's whole tree never installs. An element of files may instead be {"pattern": <glob>, "protected": true}: still whitelisted, but the installed file is locally maintained - add-only on update, a [s]kip or [o]verwrite prompt when the incoming copy differs and again before any uninstall wipes it (SPEC item 6.18); MEMORIES.md has no hardcoded treatment, sources tag their own memory convention.
  • Shell completion via argcomplete; phronesis --init registers the hook in ~/.bashrc (idempotent; --bashrc <path> targets another file, --dry-run prints the block without writing). On Windows it registers the hook in the PowerShell profile ($PROFILE; --profile <path> targets another file). Open a new PowerShell window or run . $PROFILE to use it.

The example table:

Phronesis Version: 0.1.0

id                  version  category     requires
------------------  -------  -----------  ------------------
builtin.python-tdd  2.1.0    development  sectionize-markdown
        Load for any Python work - writing, changing, fixing, testing, or reviewing Python code, tests, or packaging. Test-first, least code, modern tooling (uv, pytest, ruff, type hints), property-based testing (hypothesis), coverage.

Layout

phronesis/
├── src/phronesis/          # the CLI package (cli, registry, harnesses, state, ...)
├── test/                   # pytest suite
├── skill/                  # one directory per skill; ships as package data
│   └── python-tdd/SKILL.md
├── autotest.py             # every repo check, single entry point
├── SPEC.md                 # the full specification (sectionized, citable)
├── README.md, CONTRIBUTING.md, LICENSE
└── pyproject.toml, requirements.txt

Skills

Skill Version Category Purpose
code-architect 1.0.1 development Plan a feature in specification.md and implementation-spec.md, review the developer's tasks, make the single commit
code-developer 1.0.0 development Implement the tasks of implementation-spec.md in order, tests first, check each box, never commit
fiona 2.3.0 productivity Operate an llm-wiki with the fiona-assistant CLI
memory 1.1.0 productivity Give a skill its own MEMORIES.md beside its SKILL.md
python-tdd 2.1.0 development Load for any Python work - writing, changing, fixing, testing, or reviewing Python code, tests, or packaging. Test-first, least code, modern tooling (uv, pytest, ruff, type hints), property-based testing (hypothesis), coverage.
sectionize-markdown 1.2.1 documentation Number headings and list items so each rule can be cited
specification-writer 2.0.0 documentation Write structured, maintainable specification.md files

Default source skills

phronesis 0.20.0 registers the phronesis source by default. It is the phronesis-skills repository, which holds the skills that ship with phronesis without being bundled in the wheel:

Skill Id Category Link
linux-server-hardening phronesis.linux-server-hardening security SKILL.md

Install one with phronesis install phronesis.linux-server-hardening. Remove the default source with phronesis source remove phronesis; a file that holds only the builtin row stays builtin only.

Earlier versions registered the same skill from the nolivaldez source and id. phronesis 0.20.0 renames the nolivaldez source row and the installed copies to phronesis automatically, and the old id nolivaldez.linux-server-hardening still resolves with a note.

Checks

autotest.py verifies every script and markdown file in the repo:

  • sanity — LF line endings, no committed private keys, file size limit
  • linter — daedalus linter all over the whole repository (the daedalus linter, a development dependency): markdown, frontmatter, ruff, pycustom, json, fences, htmljs, and shellcheck, with the settings in daedalus-lint.json
  • builtin_feed — skill/builtin.json (the packaged builtin source feed) lists exactly the bundled skills, with matching id, name, description, and category, and no version key
  • frontmatter — every skill/<name>/SKILL.md carries a --- fenced YAML header with name, version, description, category; name matches the directory, version is x.y.z, category is kebab
  • pytest — the suite in test/: 90 percent coverage for the package, and 90 percent for cli.py and sources.py on their own

Run all checks:

uv sync                          # the locked dev environment in .venv
uv run python autotest.py        # every check
uv run python autotest.py frontmatter   # only the named checks

Without uv: python -m pip install -r requirements.txt, then python -m pip install -e ., then python autotest.py.

Adding a skill

See CONTRIBUTING.md. The short version: one directory per skill under skill/, everything the agent needs in a single SKILL.md, and python autotest.py green before you commit.

License

MIT

S
Description
No description provided
Readme MIT
3.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%