Skip to main content

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

pipx install phronesis       # or: pip install phronesis
phronesis                    # the usage block; `phronesis catalog` lists the skills

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            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)
  • 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 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).

The example table:

Phronesis Version: 0.1.0

skill        id                 version  category     source
-----------  -----------------  -------  -----------  -------
python-tdd   builtin.python-tdd 1.2.0    development  builtin
        Minimalist TDD architect for Python work

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
fiona 2.2.0 productivity Operate an llm-wiki with the fiona-assistant CLI
memory 1.0.1 productivity Give a skill its own MEMORIES.md beside its SKILL.md
python-tdd 1.2.0 development Minimalist TDD architect for Python work
sectionize-markdown 1.2.0 documentation Number headings and list items so each rule can be cited
specification-writer 1.1.0 documentation Write structured, maintainable SPEC.md files

The linux-server-hardening skill moved to its own repository and is served through the nolivaldez source feed since phronesis 0.13.0: register the bare clone URL - phronesis finds its phronesis_feed.json itself - with phronesis source add https://gitea.nolivaldeziii.com/nvaldez/linux-server-hardening.git and install with phronesis install nolivaldez.linux-server-hardening.

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 declared 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:

python -m pip install -r requirements.txt
python -m pip install -e .
python autotest.py               # every check
python autotest.py frontmatter   # only the named checks

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

Metadata

Release files for phronesis 0.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phronesis 0.18.0
File Size Uploaded Provenance Actions
phronesis-0.18.0.tar.gz 129.3 kB Without provenance Details for phronesis-0.18.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phronesis 0.18.0
File Interpreter ABI Platform Actions
phronesis-0.18.0-py3-none-any.whl Python 3 none any Details for phronesis-0.18.0-py3-none-any.whl

Total release size: 224.4 kB

Release files / phronesis-0.18.0.tar.gz

Download URL phronesis-0.18.0.tar.gz
Size 129.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd10dfac968bc25f979eb4f1cc943708ae5cbabcdf3d53972f72d696e1c16187
BLAKE2b-256 checksum
How to use checksums
53257737fa18d1b914f85c38ac16698f4b0c3d376020190663eec9c59cdb8747
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / phronesis-0.18.0-py3-none-any.whl

Download URL phronesis-0.18.0-py3-none-any.whl
Size 95.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad4e47fabdda6cd28afe978248a84f1dc65dff2f7e42becc9af1babe0b72f9e0
BLAKE2b-256 checksum
How to use checksums
059a1d7b25774cd44add745180885b2450ca6f308d0178fec1a9fd5ddff7a2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for phronesis 0.18.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page