git.repo-manager

作者: coinbase

git.repo-manager — 一个可安装的AI代理技能,由coinbase/cds发布。

npx skills add https://github.com/coinbase/cds --skill git.repo-manager

Manages a local repository cache at temp/repo-cache/. Use these patterns for repo lifecycle operations.

Ensure a repo is available and up to date

  1. Check whether the repo directory already exists:

    test -d temp/repo-cache/<name> && echo "exists" || echo "missing"
    
  2. If missing — clone a shallow copy of the default branch:

    git clone --depth 1 <repo-url> temp/repo-cache/<name> --quiet
    
  3. If already present — pull the latest commits:

    cd temp/repo-cache/<name> && git pull --quiet
    

Clean up a repo

Remove a cached repo when it's no longer needed or when explicitly asked:

rm -rf temp/repo-cache/<name>

Rules

  • Always use temp/repo-cache/ as the cache root — never clone repos to other locations
  • Always clone with --depth 1 (shallow) to minimize disk usage and clone time
  • Never clone more than the single repo you need for the current task

来自 coinbase 的更多技能

research.deprecation-usage
coinbase
research.deprecation-usage — 一个可安装的AI代理技能,由coinbase/cds发布。
x402
coinbase
使用X402支付协议发现并调用付费API,在Base上自动进行USDC支付。通过关键词搜索付费服务集市,列出所有可用资源,或查看端点的价格和要求而无需付费。向X402端点发起经过身份验证的请求,以原子单位自动支付USDC,支持GET、POST、PUT、DELETE和PATCH方法。包含查询参数、自定义标头、请求体支持以及最大金额支出限制以控制支付...
cds-accessibility
coinbase
审查已编写的Coinbase设计系统(CDS)UI的无障碍性:验证文档中的无障碍属性(例如accessibilityLabel,…)
cds-code
coinbase
在每个会话中,技能激活后仅执行以下操作一次。
agentic-wallet
coinbase
通过awal CLI进行加密钱包操作——登录、查看余额、发送USDC/ETH/POL/SOL、交易代币、为钱包充值,以及使用x402支付协议来…
authenticate-wallet
coinbase
基于邮箱OTP的钱包认证,包含验证与状态检查。两步登录流程:通过邮箱发起请求获取6位数字OTP,随后使用flowId和验证码完成认证。在执行命令前,对邮箱、flowId和OTP进行输入验证规则检查,防止shell注入。提供状态检查、余额查询、地址获取及通过配套CLI命令访问钱包窗口。所有命令支持--json输出,便于机器读取...
fund
coinbase
通过Coinbase Onramp或直接转账将USDC存入钱包。打开配套界面,用户可选择预设金额(10美元、20美元、50美元)或自定义数值,并选择Apple Pay、借记卡、银行转账或Coinbase账户充值。支持多种支付方式,结算时间不同:卡和Apple Pay即时到账,ACH银行转账需1-3天。资金以USDC形式存入Base网络;用户也可通过npx awal@2.0.3...直接将USDC发送至钱包地址。
monetize-service
coinbase
部署一个付费API端点,其他代理可通过x402协议发现并支付。基于Base网络使用HTTP 402支付协议按请求收取USDC;客户端通过签名交易支付,无需API密钥或账户。声明发现扩展后自动将端点注册到x402 Bazaar供代理发现。支持多种定价层级、通配符路由及每个端点多个支付选项,使用Express中间件实现。基于@x402/express和@x402/core构建...