make-git-escrow
Skill này làm gì
Skill này giúp bạn đăng một thử thách lập trình có phần thưởng token. Agent khóa token trong escrow và liên kết chúng với một bộ test mà người khác phải làm chạy qua để nhận thưởng. Nó cần công cụ dòng lệnh git-escrows.
Khi nào nên dùng
- ✓Khi bạn muốn đưa ra phần thưởng token cho việc sửa một bộ test đang lỗi.
- ✓Khi bạn muốn trả tiền bằng token cho lập trình viên làm test của bạn chạy qua.
- ✓Khi bạn đã có repo git với test và muốn agent điền các chi tiết.
Liên kết skill
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/make-git-escrow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn tạo một git escrow tiền thưởng 100 token cho bộ test đang lỗi của mình.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra công cụ git-escrows và file thiết lập của bạn. Nó thu thập địa chỉ repo test, commit để kiểm thử và số tiền thưởng, rồi nộp escrow lên chuỗi. Token được giữ khóa cho đến khi ai đó làm test chạy qua.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Make Git Escrow
You are automating the creation of a git escrow bounty via the git-escrows submit CLI command. This locks ERC20 tokens in escrow as a bounty for someone who can make a failing test suite pass.
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"
Verify it contains at least PRIVATE_KEY and NETWORK (or defaults to anvil). For base-sepolia and sepolia networks, contract addresses are auto-configured.
Step 3: Gather parameters
You need all of these to run the submit command:
--tests-repo(required): Git repository URL containing the failing test suite.- If the user provided a URL as an argument, use that.
- Otherwise, check if the current directory is a git repo and offer to use its remote URL.
- Ask the user if neither is available.
--tests-commit(required): The commit hash of the test suite.- If using the current repo, detect HEAD with
git rev-parse HEAD. - Otherwise ask the user.
- If using the current repo, detect HEAD with
--reward(required): Amount of tokens to escrow, in wei.- Ask the user. Help them convert if they give a human-readable amount (e.g., "1 USDC" = "1000000" for 6-decimal tokens, "1 ETH worth" = "1000000000000000000" for 18-decimal tokens).
--oracle(required): The Ethereum address of the oracle that will arbitrate.- Ask the user. Mention the public demo oracle on Sepolia:
0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.
- Ask the user. Mention the public demo oracle on Sepolia:
--arbiter(required): The arbiter contract address.- Ask the user. This is typically the TrustedOracleArbiter contract on their network.
--token(required): The ERC20 token contract address for the reward.- Ask the user.
Ask for any missing parameters, grouping related questions together when possible to minimize back-and-forth.
Step 4: Execute
Run the submit command with all gathered parameters:
git-escrows submit \
--tests-repo "<repo-url>" \
--tests-commit "<commit-hash>" \
--reward "<amount>" \
--arbiter "<address>" \
--oracle "<address>" \
--token "<address>"
Step 5: Report results
After successful execution:
- Report the Escrow UID prominently
- Show the full escrow details (attester, recipient, schema, reward, token, oracle)
- Provide the fulfill command that a solver would use:
git-escrows fulfill --escrow-uid <UID> --solution-repo "<url>" --solution-commit "<hash>" - Mention they can track status with:
git-escrows list --status open
If the command fails, help diagnose the issue (insufficient balance, wrong network, missing approval, etc.).
Câu hỏi thường gặp
Agent cần những chi tiết nào từ tôi?
Địa chỉ repo test và commit là bắt buộc. Agent có thể đọc chúng từ repo hiện tại của bạn nếu bạn chỉ đường tới đó.
Những mạng nào được hỗ trợ?
Skill nhắc đến Base Sepolia và Sepolia, vốn có địa chỉ contract được đặt tự động, và một mạng thử cục bộ làm mặc định.
Tôi có cần file thiết lập không?
Có. Agent cần một file thiết lập có khóa riêng và mạng của bạn, và nó có thể đưa lệnh để tạo file đó.
Chi tiết
Mô tả gốc của tác giả
Create a new git escrow bounty for a test suite. Use when the user wants to submit a challenge with escrowed token rewards for passing a failing test suite. Requires the git-escrows CLI (npm i -g git-escrows).
Độ phổ biến
- Sao GitHub
- 7.0k
- Vị trí xếp hạng
- #13613
- Giấy phép
- —
- Cập nhật
- 26/10/2026
Bình luận
- …
Thêm skill từ kho mã này
internet-court
7.0kGiúp agent của bạn thanh toán, thuê hoặc giao dịch an toàn với một agent AI khác hoặc dịch vụ trả phí, và chỉ đến hướng dẫn chuyên sâu phù hợp.
genlayer-erc7710-connector
7.0kGiúp agent của bạn kết nối kết quả đánh giá AI với hệ thống quyền hạn, để một đánh giá xấu có thể hạn chế hoặc hủy quyền của agent.
genlayer-intelligent-contracts
7.0kGiúp agent của bạn xác định quy tắc, bằng chứng và đầu ra của một AI judge kiểm tra xem agent khác có làm đúng nhiệm vụ được ủy quyền hay không.
x402-erc7710
7.0kGiúp agent của bạn trả tiền cho dịch vụ web theo từng yêu cầu, và thiết lập chi tiêu định kỳ nằm trong ngân sách quyền hạn.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.