본문으로 건너뛰기
Skillpedia
일반 코딩7.0k · #13613

make-git-escrow

하는 일

이 스킬은 토큰 보상이 걸린 코딩 과제를 올리는 데 도움을 줍니다. 에이전트는 토큰을 에스크로에 잠그고, 다른 사람이 보상을 받으려면 통과해야 하는 테스트 묶음과 연결합니다. git-escrows 명령줄 도구가 필요합니다.

사용하는 경우

  • ✓실패하는 테스트 묶음을 고치는 대가로 토큰 보상을 걸고 싶을 때.
  • ✓테스트를 통과하는 개발자에게 토큰으로 지급하고 싶을 때.
  • ✓테스트가 있는 git 저장소가 이미 있고 에이전트가 세부 사항을 채우길 원할 때.

스킬 링크

https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/make-git-escrow/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/make-git-escrow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“실패하는 테스트 묶음에 100 토큰짜리 git 에스크로 현상금을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 git-escrows 도구와 설정 파일을 확인합니다. 테스트 저장소 주소, 테스트할 커밋, 보상 금액을 모은 뒤 에스크로를 체인에 제출합니다. 누군가 테스트를 통과할 때까지 토큰은 잠겨 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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:

  1. --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.
  2. --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.
  3. --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).
  4. --oracle (required): The Ethereum address of the oracle that will arbitrate.

    • Ask the user. Mention the public demo oracle on Sepolia: 0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.
  5. --arbiter (required): The arbiter contract address.

    • Ask the user. This is typically the TrustedOracleArbiter contract on their network.
  6. --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.).

자주 묻는 질문

에이전트가 저에게 어떤 정보를 필요로 하나요?

테스트 저장소 주소와 커밋이 필요합니다. 현재 저장소를 가리키면 에이전트가 이를 읽을 수 있습니다.

어떤 네트워크를 지원하나요?

Base Sepolia와 Sepolia를 언급하며, 이들은 컨트랙트 주소가 자동으로 설정됩니다. 기본값은 로컬 테스트 네트워크입니다.

설정 파일이 필요한가요?

네. 에이전트는 개인 키와 네트워크가 담긴 설정 파일을 기대하며, 이를 만드는 명령도 알려 줄 수 있습니다.

상세 정보

작성자의 원본 설명

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

repo: internet-court/internet-court-skill

인기도

GitHub 스타
7.0k
순위
#13613
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬