p3 controller
Secure GitHub operations for agents using execution-bound dual one-time keys and zero-leakage credential brokering.
$19
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
p3 controller
Example session with this skill installed
Check the P3 broker status and push the current changes to the 'main' branch of 'acme-corp/api-service'.
- Read your context and instructions
- Compiled the p3 controller
I have verified the P3 broker status and executed the authenticated push operation. The push_key has been burned, and the pull_key remains armed for future syncs. No raw credentials were written to the environment or git configuration.
P3 Git Execution Summary
| Field | Details |
|---|---|
| Operation & Target | PUSH on acme-corp/api-service@main |
| Consumed Key ID | pk_9f2d1e8b3 |
| HMAC Verification | true (Verified) |
| Burn Timestamp | 2023-10-27T14:22:01Z |
| Twin Slot (pull_key) | ARMED |
| Exit Code | 0 |
| New HEAD | a1b2c3d4e5f6g7h8i9j0 |
| Files Changed | 4 |
| Zero-Leakage Audit | PASSED (Checked .git/config and logs) |
Next steps
- Run a
pulloperation if you need to sync the remainingpull_keyslot. - Verify the commit status directly on GitHub using the new HEAD hash.
- Request a new lease file if additional push operations are required.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Securing autonomous agents is difficult when they need to interact with private repositories. Giving an agent a raw GitHub token invites credential leakage and persistent access risks if the environment is compromised.
This skill implements a zero-trust broker that manages ephemeral, execution-bound disk leases for git operations. It allows your agent to perform authenticated pulls and pushes without the raw Personal Access Token (PAT) ever appearing in chat history, environment variables, or the .git/config file. By using a dual one-time key (OTK) system, it ensures that credentials burn immediately upon use, preventing replay attacks or unauthorized secondary actions.
What it does
- Execution-Bound Leases generates single-use credentials tied to specific git actions.
- Dual-Key Management maintains separate
pull_keyandpush_keyslots that burn independently. - In-Memory Authorization injects credentials directly into the git process header to avoid disk persistence.
- Cryptographic Verification uses HMAC-SHA256 signatures and AES-256-GCM sealed vaults for key integrity.
- Secure Key Disposal performs
0x00byte overwrites and unlinks lease files immediately after execution.
How it works
- Check Status by querying the local P3 broker to verify if the required key slot is in an
"armed"state for the target repository. - Execute Operation by sending a POST request to the P3 Receiver Gate with the operation type, repository, and branch.
- Verify and Burn as the gate validates the signature, runs the git command, and wipes the specific key slot from the lease file.
- Audit Result by reviewing the structured summary to confirm the twin key status and ensure zero leakage in local logs.
Frameworks & tools
Built for environments using GitHub, local P3 brokers, and agents running in sandboxes or cloud IDEs. It relies on standard git CLI binaries and local API endpoints (127.0.0.1:3001).
Why this beats prompting it yourself
Standard prompting often results in agents writing tokens to .bash_history or leaving them in git configuration files. This skill enforces a hard security boundary at the execution level, ensuring that even if an agent's logic is subverted, the credentials disappear the moment they are used.
Use cases
- Automated PR Updates where an agent pulls latest changes, modifies code, and pushes back without persistent token access.
- Sandbox Deployments allowing ephemeral environments to sync with private repos safely.
- CI/CD Logic enabling agents to commit fixes to protected branches using one-time authorized windows.
Known limitations
Requires a local P3 broker service running at a reachable loopback address. Git operations are currently restricted to --ff-only for pulls to ensure execution predictability.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 12 days ago
- Software
Git
Permissions
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.