Canonical role-definition toolkit for coding agents
Project description
role-forge
Canonical role-definition toolkit for coding agents.
role-forge keeps one canonical role source and renders it into platform-specific agent formats for tools like Claude Code, OpenCode, Cursor, and Windsurf.
Install
uv tool install role-forge
Quick start
role-forge add PFCCLab/precision-agents -y
role-forge render --target claude
role-forge list
Why this repo exists
- avoid maintaining the same role prompt in multiple tool-specific formats
- keep capabilities, delegation policy, and model tiers in one canonical source
- validate hierarchy and output layout before rendering
- support extension through adapter entry points
Capability model
Canonical roles declare abstract capabilities such as basic, read, write, web-access, delegate, bash, safe-bash, and all. role-forge expands those once into a shared intermediate capability model, then each adapter renders the matching tools and permissions for its target. If a role omits capabilities entirely, basic is applied by default.
Documentation
- live site:
https://role-forge.sixbones.dev - docs home:
docs/index.md - canonical role format:
docs/reference/canonical-role-definition.md - CLI reference:
docs/reference/cli.md - configuration:
docs/reference/configuration.md - adapters:
docs/reference/adapters.md - architecture:
docs/architecture/system-overview.md - development:
docs/development/contributing.md - deployment:
docs/development/deployment.md
Documentation site
This repo now includes a Zensical doc set inspired by the structure used in volvox.
uv add --dev zensical
zensical serve
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file role_forge-0.0.5.tar.gz.
File metadata
- Download URL: role_forge-0.0.5.tar.gz
- Upload date:
- Size: 90.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13b0473c6c752beaf71759064c27d9820e073bbdab01ffb4cf1309a5ba4de54c
|
|
| MD5 |
c571155d81346077e21062584ffd6228
|
|
| BLAKE2b-256 |
f5f3a1cc12501f6b425aff3749ecbebae3ae05e289e1546d3d70f529b89c02b6
|
File details
Details for the file role_forge-0.0.5-py3-none-any.whl.
File metadata
- Download URL: role_forge-0.0.5-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a935300576a6dac3ed248356ccfe300c696f5e16bf1321f0fe38e6bc569f89a
|
|
| MD5 |
8055f29ce103d0baf4ba0211f3a9188f
|
|
| BLAKE2b-256 |
3574e231966e9c9a44c1588c41018b95de04ac41df167186b65fd16b4a9264ee
|