fulfill-git-escrow
What it does
This skill is for people who want to earn a token reward by fixing code. A git escrow holds the reward until someone makes a failing test suite pass, and this skill walks the agent through writing and submitting the solution. It requires the git-escrows command-line tool.
When to use it
- ✓When you want to claim a reward by making a failing test suite pass.
- ✓When you already have a solution in a repo and only need to submit it.
- ✓When you need to check that an escrow challenge is open and see its reward.
Skill link
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/fulfill-git-escrow/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to solve escrow challenge 42 and submit my fix to claim the reward.”
5 new skills a week. 1 minute to read.
How it works
The agent checks the git-escrows tool and your settings, then looks up the escrow and its test repo. It writes code until the tests pass, commits it, and submits it on-chain to claim the reward. If you already have a solution repo, it submits that instead.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Fulfill Git Escrow
You are helping the user fulfill a git escrow bounty. This means submitting code that passes a failing test suite to claim the escrowed token reward.
There are two modes:
- Mode A (Write + Submit): You write the solution code, commit it, and submit. This is the default when no
--solution-repois provided by the user. - Mode B (Submit Existing): The user already has a solution repo and commit. You just submit the fulfillment.
Determine the mode from the user's input:
- If they provide
--solution-repo, use Mode B. - Otherwise, use Mode A.
The escrow UID is always required.
Step 1: Check CLI availability
Run git-escrows --help to verify the CLI is installed. If it fails, try npx git-escrows --help or bunx git-escrows --help. Use whichever works for all subsequent commands. If none work, tell the user to install with npm i -g git-escrows.
Step 2: Check .env configuration
Check if a .env file exists in the current directory. If not, tell the user they need one and suggest running:
git-escrows new-client --privateKey "0x..." --network "sepolia"
Step 3: Validate the escrow
Run git-escrows list --verbose --format json and find the escrow matching the provided UID. Confirm:
- The escrow exists and is open
- Note the test repo URL, test commit hash, reward amount, and oracle address
If no escrow UID was provided, ask the user for one. You can help them browse with git-escrows list --status open.
Mode A: Write Solution + Submit
A1: Understand the tests
Clone or read the test repository to understand what the tests expect:
- Identify the test repo URL and commit from the escrow details
- Clone it to a temporary location:
git clone <url> /tmp/escrow-tests-<uid> && cd /tmp/escrow-tests-<uid> && git checkout <commit> - Read the test files to understand:
- What functions/modules/APIs the tests import
- What behavior they assert
- What test framework is used
- The project structure expected
A2: Write the solution
In the current working directory (or a subdirectory the user specifies):
- Create/modify files to implement the code that will make the tests pass
- Follow the project structure the tests expect (e.g., if tests import from
src/math.ts, create that file) - Include any necessary config files (package.json, Cargo.toml, etc.)
- Ensure the test framework's dependencies are accounted for
A3: Commit and get repo details
- Stage and commit the solution:
git add -A && git commit -m "solution for escrow <uid>" - Get the commit hash:
git rev-parse HEAD - Get the remote URL:
git remote get-url origin- If no remote exists, ask the user to push to a public git repo and provide the URL
A4: Submit the fulfillment
git-escrows fulfill \
--escrow-uid "<uid>" \
--solution-repo "<repo-url>" \
--solution-commit "<commit-hash>"
Mode B: Submit Existing Solution
B1: Gather parameters
From the user's input, extract:
--solution-repo: The git repo URL with the solution--solution-commit: The commit hash of the solution
If either is missing, ask the user.
B2: Submit the fulfillment
git-escrows fulfill \
--escrow-uid "<uid>" \
--solution-repo "<repo-url>" \
--solution-commit "<commit-hash>"
Step 4: Report results (both modes)
After successful execution:
- Report the Fulfillment UID prominently
- Explain that the oracle will now automatically test the solution
- Provide the collect command for after arbitration passes:
git-escrows collect --escrow-uid <escrow-uid> --fulfillment-uid <fulfillment-uid> - Suggest checking status with:
git-escrows list --verbose
If the command fails, help diagnose the issue (escrow already fulfilled, wrong network, key not registered, etc.). If the user's git key isn't registered, suggest git-escrows register-key.
FAQ
What do I need before starting?
The git-escrows command-line tool and a settings file with your wallet key and network.
What if I already wrote a solution?
Give the agent your solution repo, and it will submit that fulfillment without writing new code.
How does the agent confirm the escrow is valid?
It lists escrows and checks that the one you named is open, then notes its test repo, reward and oracle.
Details
Original description by the author
Fulfill a git escrow bounty by writing a solution or submitting an existing one. Use when the user wants to solve a test suite challenge, write code to pass tests, and claim a token reward. Requires the git-escrows CLI (npm i -g git-escrows).
Popularity
- GitHub stars
- 7.0k
- Ranking position
- #13612
- License
- —
- Updated
- 10/26/2026
Comments
- …
More skills from this repository
internet-court
7.0kHelps your agent pay, hire, or deal safely with another AI agent or paid service, and points it to the right specialized guide.
genlayer-erc7710-connector
7.0kHelps your agent connect an AI review result to a permission system, so a bad review can limit or cancel an agent's permissions.
genlayer-intelligent-contracts
7.0kHelps your agent define the rules, evidence and outputs of an AI judge that checks whether another agent followed its mandate.
x402-erc7710
7.0kHelps your agent pay for web services one request at a time, and set up ongoing spending that stays within a permission budget.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.