madeinplutofabio/command-scope-contract
Protocol for bounded shell and CLI execution with explicit scope, policy, and provenance for AI agents.
Platform-specific configuration:
{
"mcpServers": {
"command-scope-contract": {
"command": "npx",
"args": [
"-y",
"command-scope-contract"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://github.com/madeinplutofabio/command-scope-contract/actions/workflows/ci.yml) [](https://www.python.org/downloads/) [](LICENSE)
CSC is a lightweight protocol for bounded shell and CLI execution by AI agents.
CSC is complementary to MCP, not a replacement for it.
It exists to remove ambient authority from agentic execution.
Instead of giving an agent raw shell access, CSC requires the agent to submit a structured command contract that declares:
A trusted policy layer evaluates the contract. If allowed, a constrained executor runs it and emits a verifiable receipt.
Shell is useful because it is universal, composable, and token-efficient.
Shell is dangerous because it often carries too much implicit power.
CSC keeps the flexibility of shell while making scope, policy, and execution evidence explicit.
agent -> command contract -> policy gate -> constrained executor -> execution receiptDraft / v0.1 bootstrap
Not production-ready. The current runner is a minimal reference implementation intended to validate the protocol shape.
CSC does not attempt to replace:
Loading reviews...