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                    # list every bundled skill

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 bundled (builtin) skill
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 (~/.vibe/skills; --project for .vibe/skills);
                              the word is a name or an id (builtin.memory), --source picks
                              the origin source (builtin only, for now)
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 source add <ref>    register a source feed (path, URL, or builtin://)
phronesis source edit         open the sources file in your $VISUAL / $EDITOR
phronesis --init              register tab completion (bash)
  • 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
  • python_syntax — every .py file parses (ast.parse)
  • pycodestyle — PEP 8 style on every .py file
  • shellcheck — every shell script (.sh, .bash, or shebang)
  • 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
  • markdown — markdownlint on every .md file, via pymarkdownlnt with front-matter support; md013 (line length) and md033 (inline HTML) are ignored, and md025 treats front-matter title keys as headings off, so skills with a title plus one # stay clean
  • pytest — the suite in test/ with 75 percent coverage floor

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.16.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.16.0
File Size Uploaded Provenance Actions
phronesis-0.16.0.tar.gz 104.9 kB Without provenance Details for phronesis-0.16.0.tar.gz

Built distribution (wheel)

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

Total release size: 189.5 kB

Release files / phronesis-0.16.0.tar.gz

Download URL phronesis-0.16.0.tar.gz
Size 104.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fc85c91ee4b5d042bbead438ca1bbfd8eeef6b08c637d9686e949d0ac3345968
BLAKE2b-256 checksum
How to use checksums
6b52dd950d7cd933262fec8bc88193507c99b2c3650185504adbe6a383e08690
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.16.0-py3-none-any.whl

Download URL phronesis-0.16.0-py3-none-any.whl
Size 84.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1074cd4f164905e3f2c9294dc1d37d692d77514de323594072af5fdcd3966b1
BLAKE2b-256 checksum
How to use checksums
2ba2da1ca191abc9f9e03f8d8d66e4ce440939e1b84ca205818205f71a3a8c7d
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.16.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