Skip to main content

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

role_forge-0.0.4.tar.gz (89.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

role_forge-0.0.4-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file role_forge-0.0.4.tar.gz.

File metadata

  • Download URL: role_forge-0.0.4.tar.gz
  • Upload date:
  • Size: 89.7 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

Hashes for role_forge-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b4526a544af7d6310a410da9470f6bffcd37922044c2855a5247118a1b1b9518
MD5 fbaa8279135c679da0b46132a22ef0fe
BLAKE2b-256 eb3dd8f49583ec951bd300a8ee31b3c69f5d9f109f4451e8b98bb02ef20f1c6e

See more details on using hashes here.

File details

Details for the file role_forge-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: role_forge-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 24.3 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

Hashes for role_forge-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a326e533eace85fa4d768470a8a0c530385765b17057b45d0e9ce3c35723379f
MD5 52b86a208a8a098dad0a61839c6ba029
BLAKE2b-256 65ffd513fa14f94a40e78c4ccb2d05e81ef659ae29b3172050d588f7801dde0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page