Manifest Specification
The bpm.json file defines your package metadata, compatibility, and behavior.
{
"name": "my-package",
"version": "1.0.0",
"type": "convention",
"description": "A short description of what this package does",
"entry": "SKILL.md",
"scope": "session",
"token_cost": 2400,
"keywords": ["workflow", "productivity"],
"author": {
"name": "Your Name",
"github": "your-username"
},
"license": "Apache-2.0",
"repository": "https://github.com/you/your-package",
"agents": ["goose", "claude-code", "codex", "cursor"],
"dependencies": [],
"conflicts": [],
"peers": []
}namestringrequiredThe package name. Must be lowercase, alphanumeric with hyphens. Unique across the registry. First-come-first-served.
versionstringrequiredSemantic version (semver). Used for version resolution and update detection.
typeenumrequiredDetermines how the package integrates with the agent.
conventionBehavioral rules that shape how the agent acts. Loaded into context as markdown. Changes posture, not capability.
e.g., learning-modeextensionMCP server providing callable tools. Registered in the agent's runtime and invoked during sessions.
e.g., timbretemplateScaffolding for new projects. Copied into the user's workspace and customized. Not loaded into agent context.
e.g., production-agent-workflowmeasurementInstruments that track agent or user behavior. Typically an extension paired with a convention for analysis and reporting.
e.g., rp-whydescriptionstringrequiredA concise description shown in search results and package cards. Keep under 120 characters.
entrystringrequiredRelative path to the main content file. For conventions, this is typically a markdown file (e.g., SKILL.md). For extensions, the server entry point.
scopeenumWhen the package should be active. Defaults to "session".
globalAlways loaded regardless of project or session. Use for identity, core boundaries, and safety constraints.
projectLoaded when working in this project. Use for team conventions, project-specific workflows, and shared norms.
sessionLoaded only when explicitly activated. Use for behavioral modes that shift agent posture on demand.
pathLoaded when tools touch specific directories. Use for module-specific conventions within a monorepo.
token_costnumberApproximate tokens consumed when loaded into agent context. Helps users budget their context window. Conventions and extensions that inject text should include this. When the entry is a text file (.md, .markdown or .txt), the registry also measures it at about 4 characters per token, cards show that measured cost, and the package page flags a package whose two numbers are 1.5x or more apart. bpm publish prints both.
keywordsstring[]Tags for search and discovery. Up to 10 keywords.
authorobjectrequiredObject with "name" (display name) and "github" (GitHub username). Must match your registry login to publish.
licensestringSPDX license identifier. Defaults to Apache-2.0 if omitted.
repositorystringURL to the source repository. Displayed on the package detail page and used by the CLI for installation.
agentsstring[]requiredList of compatible agents. Valid values: "goose", "claude-code", "codex", "cursor". Determines which agents can use this package.
scaffoldstring[]Template packages only. Files and folders bpm install copies into the project, keeping their paths, so the person can edit and commit them. A file already in the project is never overwritten: bpm keeps it and says so. bpm remove leaves copied files in place. Use bpm install --no-scaffold to skip copying. Each path must be one of the package's distributable files, and bpm.json can't be listed.
permissionsobjectWhat the package lets an agent do. filesystem and network are none, read or write; shell is none, constrained or full; filesystem_paths lists the paths it writes. All keys are optional. The publish review warns when shell access and filesystem writes are declared without filesystem_paths. Example: { "filesystem": "write", "shell": "constrained", "network": "none", "filesystem_paths": ["./learning/sessions/"] }.
requiresobjectWhat the package needs to work: mcp lists MCP servers it needs, and optional_mcp lists ones it can use when they're there. Example: { "mcp": ["filesystem", "git"], "optional_mcp": ["firebase"] }.
exposesobjectWhat the package offers: commands people can say (for example "learning mode"), surfaces it renders on, indicators it reports, mcp_tools it provides, and webmcp_tools for browser agents. Each is a list of names.
workflowsstring[]Paths to Markdown files in the package that describe its multi-step flows. Each must be one of the package's distributable files.
verificationstringPath to a file in the package that explains how to check the package's behavior. It must be one of the package's distributable files.
built_withobjectWhich agent and model the package was written with: { "agent": "goose", "model": "claude-opus-4" }. Both keys are optional.
reference_token_costnumberApproximate tokens in files agents read only on demand, such as a references/ folder. token_cost stays the always-loaded cost, so totals in AGENTS.md and bpm list don't change; bpm compose and the package page show this separately.
additional_docsobject[]Links to documentation that lives outside the package, such as writeups, methodology or API references, shown on the package page's Additional Docs tab. Each is { "title": "...", "url": "https://..." }: https links only, up to 20, titles up to 120 characters and URLs up to 500. When bpm.json has this field, publishing sets the package's list from it; without it, links added on the dashboard stay. bpm publish refuses a bad list and bpm install warns.
serverobjectExtension packages only. How the package's MCP server starts, so an adapter can register it without hand-written paths. transport is stdio. command is a program name such as uv or node, or a {package_dir}/ path inside the package; it can't contain spaces or shell characters. args is a list of strings, and {package_dir} is the only placeholder: an adapter replaces it with the folder the package is installed in. cwd is optional and must be {package_dir} or a path inside it; without it the server runs in the session's folder. timeout is in seconds. env lists the environment variables the server reads, as { name, description, required, secret }; required defaults to true and secret to false. The manifest only names each variable: bpm publish refuses a value or default, and the owner supplies every value. Example: { "transport": "stdio", "command": "uv", "args": ["run", "--directory", "{package_dir}", "agent-context-router"], "env": [{ "name": "AGENT_MACHINE" }], "timeout": 300 }.
dependenciesstring[]List of other bpm package names required for this package to work. bpm install installs them from the registry, along with their own dependencies, and bpm remove warns when an installed package still depends on one.
conflictsstring[]List of package names that contradict this package's behavior. bpm install warns when conflicting packages are both installed, whichever one declares the conflict.
peersstring[]List of package names that enhance this package (optional, not required). bpm install suggests the ones that aren't installed yet, with their install commands.