fulfill-git-escrow
できること
このスキルは、コードを直すことでトークンの報酬を得たい人向けです。失敗しているテストスイートが通るまで、gitのエスクローが報酬を預かり、このスキルは解決策を書いて提出する手順をエージェントに案内します。git-escrowsコマンドラインツールが必要です。
使う場面
- ✓失敗しているテストスイートを通して、報酬を請求したいとき。
- ✓リポジトリに既に解決策があり、それを提出するだけでよいとき。
- ✓エスクローの課題が開いていて、その報酬を確認したいとき。
スキルのリンク
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/fulfill-git-escrow/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エスクローの課題42を解いて、修正を提出し、報酬を請求したいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、git-escrowsツールと設定を確認し、エスクローとそのテストのリポジトリを探します。テストが通るまでコードを書き、コミットして、報酬を請求するためにオンチェーンで提出します。既に解決策のリポジトリがあれば、新しくコードを書かずにそれを提出します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
始める前に何が必要ですか?
git-escrowsコマンドラインツールと、ウォレットの鍵とネットワークを記した設定ファイルです。
既に解決策を書いていたら?
その解決策のリポジトリを渡せば、新しいコードを書かずにその提出を行います。
エージェントはエスクローが有効かどうかをどう確認しますか?
エスクローを一覧にし、あなたが指定したものが開いていることを確認し、テストのリポジトリ、報酬、オラクルを記します。
詳細
作者による元の説明
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).
人気
- GitHubのスター
- 7.0k
- ランキング
- #13612
- ライセンス
- —
- 更新日
- 2026/10/26
コメント
- …
このリポジトリの他のスキル
internet-court
7.0kエージェントが、他のAIエージェントや有料サービスと安全に支払い、雇用、取引できるよう支援し、適切な専門ガイドを案内します。
genlayer-erc7710-connector
7.0kエージェントが、AIによるレビューの結果を権限の仕組みにつなぎ、悪いレビューがエージェントの権限を制限または取り消せるよう支援します。
genlayer-intelligent-contracts
7.0kエージェントが、別のエージェントが委任された範囲を守ったかを判定するAIの審査役について、ルール、証拠、出力を定義できるよう支援します。
x402-erc7710
7.0kエージェントが、リクエストごとにウェブサービスの支払いを行い、許可された予算の範囲内で継続的な支出を設定できるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。