Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计提醒

cre-skills创造力技能

Agent Skill

cre-skills 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

699

周安装

28

GitHub Stars

95

下载量

226
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cre-skills(创造力技能)
来源仓库:https://github.com/smartcontractkit/chainlink-agent-skills
仓库路径:skills/cre-skills
安装命令:
npx skills add https://github.com/smartcontractkit/chainlink-agent-skills --skill cre-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/smartcontractkit/chainlink-agent-skills --skill cre-skills

简介

cre-skills 实时查询 Chainlink Runtime Environment 最新文档,辅助开发者理解运行时模式。

  • 适用于 CRE 相关功能开发与系统集成,确保使用最新接口与最佳实践。
  • 采用分层获取策略:WebFetch → 内容质量评估 → 必要时补充 curl 调用,避免空壳响应。
  • 每次调用后需判断内容是否包含实质性代码或说明,低质量结果应重新尝试或放弃。
  • cre-skills 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

CRE Skills

Assist developers working with the Chainlink Runtime Environment (CRE) by looking up the latest documentation at runtime.

Runtime Pattern

⚠️ IMPORTANT — AGENTS MUST READ BEFORE FETCHING ANYTHING: WebFetch may return an empty shell (nav/metadata only, no prose or code) for some URLs. After every WebFetch call, assess quality before using the content. After every WebFetch, ask: Does the response contain actual prose and/or code blocks with more than ~1000 chars of useful content? Full fetch cascade — follow in order: 1. WebFetch → assess content quality → proceed if substantial 2. Bash curl (if WebFetch returned a shell) — works on Windows 10+, Linux, and Mac → curl -s -L -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "<url>" 3. Tell the user → if both fail, report the URL and suggest they open it directly Apply this cascade to ALL fetches — doc pages, GitHub URLs, and text dumps.

When a user asks a CRE-related question:

  1. Match user intent to a reference file — Identify which topic best fits the query from the reference files listed below.
  2. Read the matching reference file — Each entry includes a summary and key technical details. Use these to orient yourself. Do not fetch yet.
  3. Act immediately — Write the answer or scaffold from your knowledge and the reference file descriptions. Do not fetch as preparation.
  4. Iterate — Present your response. Ask the user to test or run it. Then loop:

- Error or gap blocks progress → fetch exactly what the error names → fix → repeat - Cannot write a specific part → mark it inline (e.g. // NEED: exact consensus tag for uint256) → fetch that one thing → fill it in → continue - No error → done

⚠️ Do not fetch as preparation. Fetch as resolution. Only fetch when you can state the exact piece of information you need. If you can't name it precisely, don't fetch.

CRE has runtime-specific constraints (e.g. WASM environment, encoding requirements) that differ from standard assumptions. When a specific gap involves CRE behaviour you are uncertain about, fetch to resolve it — do not guess.

Code Example Priority

When looking for code examples or implementation details, use the most targeted source first. Apply the fetch cascade above to any URL you fetch:

  1. Individual doc pages first — Most targeted. Fetch the specific page for the topic using the fetch cascade. Full content is accessible via curl if WebFetch returns a shell.
  2. Repo references second (repo-*.md) — Use when the doc page lacks sufficient code, or the user explicitly wants a working implementation (templates, SDK examples, demo apps).
  3. Full-text doc dumps last (llms-full-ts.txt / llms-full-go.txt) — 35,000-word plain-text dumps linked from general.md. Use only when you can't identify a specific doc page or need broad coverage.

How to work through this list:

  • Fetch the single most relevant URL from the highest-priority source first. Read it fully.
  • Stop as soon as you have enough to answer the question. Do not fetch more to verify or feel confident.
  • Only move to the next priority source if the current one was genuinely insufficient.
  • Never follow links found in fetched content — only fetch URLs explicitly listed in reference files.
  • When fetching from repo reference files, fetch only the specific file you need. Do not browse directories or read adjacent files.
  • 3-5 URLs is a ceiling, not a target. Most questions need 1-2 fetches.

CLI Command Priority

When looking up CRE CLI commands, flags, or usage:

  1. Run cre <command> --help locally — Most authoritative and version-accurate. Use this first if the CLI is installed.
  2. Individual CLI doc pages — Fetch the specific command page via the fetch cascade. Targeted and accessible.
  3. repo-cre-cli.md — Auto-generated markdown for every command. Use if the above don't cover the query.
  4. Full-text doc dumps / other — Last resort.

How to work through this list:

  • Fetch the single most relevant URL from the highest-priority source first. Read it fully.
  • Stop as soon as you have enough to answer the question. Do not fetch more to verify or feel confident.
  • Only move to the next priority source if the current one was genuinely insufficient.
  • Never follow links found in fetched content — only fetch URLs explicitly listed in reference files.
  • When fetching from repo reference files, fetch only the specific file you need. Do not browse directories or read adjacent files.
  • 3-5 URLs is a ceiling, not a target. Most questions need 1-2 fetches.

Reference Files

FileTopicWhen to use
account-setup.mdAccount setupCreating accounts, CLI login, managing authentication
getting-started.mdGetting startedCLI installation, project setup, tutorial walkthrough (Go & TypeScript)
capabilities.mdCapabilitiesEVM read/write, HTTP capability, triggers overview
workflow-building.mdWorkflow buildingSecrets, time, randomness, triggers (cron/HTTP/EVM log), HTTP client, EVM client, onchain read/write, report generation
cli-reference.mdCLI referenceCLI commands for accounts, auth, project setup, secrets, workflows, utilities
sdk-reference.mdSDK referenceSDK core, consensus/aggregation, EVM client, HTTP client, trigger APIs (Go & TypeScript)
operations.mdOperationsDeploying, simulating, monitoring, activating, pausing, updating, deleting workflows, multi-sig wallets
concepts.mdConceptsConsensus computing, finality, non-determinism, TypeScript WASM runtime
organization.mdOrganizationOrg management, inviting members, linking wallet keys
general.mdGeneralCRE overview, key terms, demos, Gelato migration, project configuration, supported networks, release notes, service quotas, support
templates.mdTemplatesCRE workflow templates overview and usage

Workflow Generation Checklist

Follow these additional steps when generating or scaffolding a new workflow (not just answering questions):

  1. Determine language — Before generating any code, confirm whether the user wants Go or TypeScript. Ask directly if not already clear from context.
  2. Choose HTTP capability — If the workflow involves HTTP requests, ask the user whether they want regular HTTP or Confidential HTTP. Explain the difference: regular HTTP is the default for standard API calls; Confidential HTTP is an optional capability that provides privacy-preserving requests via enclave execution, secret injection, and optional response encryption. Do not assume one or the other — let the user decide.
  3. Write the scaffold immediately — Generate the complete workflow structure from your knowledge. Do not fetch first. Mark specific uncertainties inline (e.g. // NEED: exact consensus tag for uint256, // NEED: verify project.yaml structure).
  4. Present and iterate — Give the user the scaffold with simulation commands. Ask them to run cre workflow simulate. Then loop:

- Simulation error → fetch exactly what the error names → fix → ask user to re-run - Inline gap → fetch that one specific thing → fill it in → continue - No error → done - One fetch per gap. Never fetch speculatively to prevent hypothetical errors.

  1. Default to simulation — Always include simulation commands. Only provide deployment steps if the user explicitly requests it. Remind them deployment requires Early Access approval, a funded wallet, and a linked key.

Repo Reference Files

Repo reference files are a reliable source for working code implementations. Use them when individual doc pages lack sufficient code examples, or when the user explicitly wants a template or runnable implementation.

FileRepoWhen to use
repo-cre-templates.mdcre-templatesStarter templates, building blocks, example workflow patterns
repo-cre-sdk-typescript.mdcre-sdk-typescriptTypeScript SDK source, HTTP trigger package, SDK examples
repo-cre-sdk-go.mdcre-sdk-goGo SDK source, capability implementations, consensus code
repo-cre-prediction-market-demo.mdcre-gcp-prediction-market-demoPrediction market demo app, end-to-end workflow example
repo-cre-cli.mdcre-cliCRE CLI source code and auto-generated command reference docs

Debugging Checklist

Follow these steps when diagnosing errors or fixing broken CRE code:

  1. Identify the capability involved — Determine which CRE capability (HTTP client, EVM client, triggers, secrets, consensus, etc.) is related to the error.
  2. Fetch the relevant doc page — Find the specific doc page for the capability via the matching reference file. Use the fetch cascade to retrieve it.
  3. Check repo examples — If the doc page lacks a working implementation, consult the matching repo-*.md reference file. If still insufficient, fetch the llms-full text dump from general.md.
  4. Check known issues — Review the Known Issues section below for any matching bug or workaround.
  5. Only then propose a fix — Do not guess from type signatures, general programming knowledge, or first principles. CRE's WASM runtime and capability interfaces have specific requirements that may differ from standard assumptions.
  6. If a fix fails, re-consult docs — Do not iterate by guessing alternatives. Go back to step 2 and re-read the docs more carefully, or fetch additional related pages.

Known Issues

Secret name/env var substring conflict (CRE CLI v1.1.0)

Problem: Secret resolution fails with "secret not found" if the env var name in secrets.yaml is a substring or prefix of the secret name (the YAML key). For example, secret name GEMINI_API_KEY_SECRET with env var GEMINI_API_KEY fails because GEMINI_API_KEY is a prefix of GEMINI_API_KEY_SECRET.

Workaround: Ensure the env var name is never a substring/prefix of the secret name. Use a suffix like _VAR on the env var (e.g., GEMINI_API_KEY_VAR).

Observed in: CRE CLI v1.1.0

Verification test: Create a secrets.yaml with a secret name that contains the env var as a prefix (e.g., key MY_SECRET_NAME, env var MY_SECRET). Run simulation. If it fails with "secret not found", the bug still exists. If it succeeds, the bug is fixed and this issue can be removed.

Tips

  • Many topics have separate Go and TypeScript pages. Ask the user which language they're using if unclear, or fetch both.
  • For workflow generation tasks, follow the Workflow Generation Checklist above, start with workflow-building.md, and supplement with sdk-reference.md for API details.
  • For onboarding, start with getting-started.md then account-setup.md.
  • For code examples, fetch the specific doc page first (via fetch cascade), then repo reference files if more implementation detail is needed.
  • Reference file entries contain enriched descriptions from the docs index. Read them carefully to narrow down which URLs to fetch — don't fetch blindly.
  • The full docs index with structured JSON metadata is available at assets/cre-docs-index.md for deeper search if reference file descriptions aren't sufficient.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.42%
按下载量换算82

Claude

31.15%
按下载量换算70

Cursor

19.76%
按下载量换算45

Gemini CLI

9.4%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/smartcontractkit/chainlink-agent-skills --skill cre-skills 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills