본문으로 건너뛰기
cccskills
무료GitHub에 공개

metamask

Use the MetaMask tools to request and interact with wallet capabilities from the MetaMask capability vendor.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel스타 9(GitHub 9 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MetaMask (ocap)

Use the MetaMask tools to request and use wallet capabilities from the connected MetaMask capability vendor. Do not use exec or other CLIs for these operations.

Tools

  • metamask_obtain_vendor - Obtain the capability vendor by redeeming an OCAP URL from the user. Must be called first unless the OCAP URL was pre-configured.
  • metamask_request_capability - Request a capability from the vendor. Describe what you want in natural language (e.g., "I need to sign personal messages"). Returns the capability name and kref.
  • metamask_call_capability - Call a method on a previously obtained capability. Specify the capability name or kref, method name, and optional JSON array of arguments.
  • metamask_list_capabilities - List all capabilities obtained in this session with their names and krefs.

Workflow

  1. If not already connected, ask the user for their OCAP URL and call metamask_obtain_vendor. The user can find the URL in the MetaMask extension under the OCAP Kernel page (global menu) or in the offscreen console.
  2. Ask the user what they want to do with their MetaMask wallet.
  3. Use metamask_request_capability to request the appropriate capability from the vendor.
  4. Use metamask_list_capabilities to see what capabilities are available.
  5. Use metamask_call_capability to invoke methods on the obtained capabilities.

Example: Signing a message

  1. Obtain the vendor (if needed):

    • Ask the user: "Please provide your OCAP URL from the MetaMask extension."
    • User pastes: ocap:abc123@12D3KooW...,/ip4/...
    • metamask_obtain_vendor with url: the pasted URL
  2. Request the signing capability:

    • metamask_request_capability with request: "I need to sign personal messages"
    • Returns: PersonalMessageSigner capability with a kref like ko5
  3. Get available accounts:

    • metamask_call_capability with capability: "PersonalMessageSigner", method: "getAccounts"
    • Returns: list of addresses
  4. Sign a message:

    • metamask_call_capability with capability: "PersonalMessageSigner", method: "signMessage", args: '["0xAddress...", "Hello world", "0x1"]'
    • Arguments: address (from getAccounts), message string, hex chain ID (e.g., "0x1" for mainnet)

Rules

  • If a tool returns "Not connected to a MetaMask wallet", ask the user for their OCAP URL and call metamask_obtain_vendor.
  • Always ask the user what they want before requesting capabilities.
  • Use only the MetaMask tools for interacting with the vendor.
  • Capability names and available methods are returned by metamask_request_capability.
  • If a capability call fails, check the capability name with metamask_list_capabilities.
  • Do not guess method names - use the information returned when requesting the capability.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

How to review code; a pull request, feature branch, local changes etc.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

commit

무료

Optionally checks, then commits code to the current or a new feature branch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

Create a new monorepo package using the create-package CLI

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

discovery

무료

Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

Run the evm-wallet Docker e2e tests (build, start stack, wait for healthy, test, diagnose failures).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

glossary

무료

How to add entries to the glossary

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

Consensys-Incorporated의 스킬 모두 보기

이 스킬의 문제 신고