1

    Secure GitHub operations for agents using execution-bound dual one-time keys and zero-leakage credential brokering.

    $19

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    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

    FieldDetails
    Operation & TargetPUSH on acme-corp/api-service@main
    Consumed Key IDpk_9f2d1e8b3
    HMAC Verificationtrue (Verified)
    Burn Timestamp2023-10-27T14:22:01Z
    Twin Slot (pull_key)ARMED
    Exit Code0
    New HEADa1b2c3d4e5f6g7h8i9j0
    Files Changed4
    Zero-Leakage AuditPASSED (Checked .git/config and logs)

    Next steps

    1. Run a pull operation if you need to sync the remaining pull_key slot.
    2. Verify the commit status directly on GitHub using the new HEAD hash.
    3. Request a new lease file if additional push operations are required.
    $19/mo

    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_key and push_key slots 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 0x00 byte overwrites and unlinks lease files immediately after execution.

    How it works

    1. Check Status by querying the local P3 broker to verify if the required key slot is in an "armed" state for the target repository.
    2. Execute Operation by sending a POST request to the P3 Receiver Gate with the operation type, repository, and branch.
    3. Verify and Burn as the gate validates the signature, runs the git command, and wipes the specific key slot from the lease file.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    Traditional agents often store GitHub tokens in environment variables or chat logs; this skill uses execution-bound dual one-time keys that burn immediately after use, ensuring no persistent credentials remain on disk or in memory.

    The skill is designed for any agent capable of making local API calls, provided a P3 broker service is running at your loopback address (127.0.0.1:3001) to handle the cryptographic signatures.

    Yes, the system utilizes a dual-key architecture that manages 'pull' and 'push' permissions independently, allowing you to arm only the specific action the agent needs for a given task.

    To ensure execution predictability and prevent merge conflicts from hanging the agent, the controller currently restricts git pulls to fast-forward only (--ff-only) logic.

    You receive the complete P3 Controller skill definition, including the logic for secure key disposal, HMAC-SHA256 verification protocols, and the structured workflow for managing ephemeral disk leases.

    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.