[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CZ6KG9GA5X46BTXJ3ZC9JM":3,"skill-same:01M6CZ6KG9GA5X46BTXJ3ZC9JM":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":55,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6CZ6KG9GA5X46BTXJ3ZC9JM","create-skill",null,"Generate a complete new skill from a one-line prompt and ship it as a PR","aeonfun\u002Faeon","aeonfun","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287715280?v=4","01M6CZ23C6MXGMF4N0V1DZ1247","aeon","01M6CZ23GMZP1BR424J8Y8K3DG",793,"MIT","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fskills\u002Fcreate-skill\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"create skill","create","pr","generate","dev","Meta","ship","prompt","evolution","new skill","ship it","as","line","complete","it","new","2026-11-10 10:12:30",false,"---\nname: create-skill\ndescription: Generate a complete new skill from a one-line prompt and ship it as a PR\nmetadata:\n  title: Create Skill\n  category: evolution\n  var: \"\"\n  tags:\n    - dev\n    - meta\n---\n> **${var}** — A natural-language description of the skill to create. **Required.** Example: `\"monitor Hacker News for AI papers and send a summary\"` or `\"track gas prices on Ethereum and alert when below 10 gwei\"`.\n\n\u003C!-- autoresearch: variation B — sharper output via PR-first workflow + quality enforcement + exit taxonomy + new-secret guard -->\n\nIf `${var}` is empty, exit `CREATE_SKILL_NO_VAR`:\n```bash\n.\u002Fnotify \"create-skill aborted: var empty — pass a description e.g. \\\"monitor X for Y\\\"\"\n```\nThen stop.\n\nToday is ${today}. Your task is to generate a complete, production-ready skill from `${var}`, score it against a quality bar, and ship it as a PR — **never commit directly to `main`**.\n\n## Steps\n\n1. **Parse the request.** Extract from `${var}`:\n   - Core action verb (monitor, fetch, generate, analyze, alert, track, scan, etc.)\n   - Data source(s) — APIs, websites, RSS, on-chain, GitHub, etc.\n   - Output format — notification, article, file, PR, dashboard, etc.\n   - Configurable parameter(s) the new skill will accept via its own `${var}`\n   - Suggested cadence (daily, hourly, weekly, on-demand)\n\n   Save a one-paragraph structured request summary; you'll use it in the PR body.\n\n2. **Duplicate detection (deep — not just `ls`).** Find functional overlap, not just name collision.\n   Pick the keywords yourself (no shell text tools; see **Shell shape** in the Network note): lowercase `${var}`, keep each word of 4+ letters, drop `send with from that this when each into over some like just than then also will have been using monitor track fetch alert`, and dedupe. Then one call per keyword, written in literally:\n   ```bash\n   grep -liE \"\u003CKEYWORD>\" skills\u002F*\u002FSKILL.md | head -5\n   ```\n   Read the top 3 candidates fully. For each, judge: does it already do this? Could the request be solved by running an existing skill with a different `var=`?\n   - **Near-duplicate exists** → exit `CREATE_SKILL_DUPLICATE`. Notify with the existing skill name and a one-line suggestion (\"use existing `{skill}` with `var={...}` instead\"). Stop.\n   - **Functionally adjacent** → design the new skill to complement (different angle\u002Fcadence\u002Foutput). Document the boundary in the PR body.\n\n3. **Research the data sources.** For every API or data source the new skill needs:\n   - **WebSearch** for the current API documentation. Cross-check against a secondary source when feasible (a recent GitHub repo using it, an official changelog, or a Stack Overflow answer dated ≥2026) to confirm the endpoint isn't deprecated.\n   - **WebFetch** the canonical docs URL — record it as a comment in the SKILL.md and in the PR body's \"Sources researched\" section.\n   - Identify exact endpoints, required headers, auth scheme, response schema, and rate limits.\n   - Note every required environment variable \u002F API key.\n   - Determine fallback strategy when an optional API key isn't set (WebSearch \u002F WebFetch \u002F cached data \u002F public endpoint).\n\n   **Research bar (soft):** at least one confirmed source URL or exemplar (a working docs page or a public repo using the API). If none, do **not** hard-abort — log `CREATE_SKILL_INSUFFICIENT_RESEARCH`, ask the operator via `.\u002Fnotify` with what was tried and why each source failed, and stop. The operator can re-dispatch with a clearer prompt or a source hint.\n\n4. **New-secret guard.** Secrets values are never inspectable from the workflow — only names are listed. Use `gh api repos\u002F:owner\u002F:repo\u002Factions\u002Fsecrets --jq '.secrets[].name'` to read the **names** of secrets already configured (this endpoint returns names only, never values). Cross-reference with env-var usage in `aeon.yml` and existing workflows. For each env var the new skill needs:\n   - **Name present** → continue.\n   - **Name missing** → record as `NEW_SECRET_REQUIRED`. The generated skill **must** gracefully degrade or skip when the secret is absent (no hard crash). Add a `### Required secrets` section to the PR body listing what the operator must add to GitHub Actions secrets before enabling.\n\n   If the secret has no graceful fallback, the generated skill's step 1 must say: read the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn); when `VAR` is not on that line, send `.\u002Fnotify \"{skill} skipped: VAR not set\"` and stop. Declare `VAR` in the generated skill's `requires:`: that is what puts it on the line.\n\n5. **Design the skill.** Decide:\n   - **Skill name** — lowercase, hyphenated, 2-3 words max (e.g., `gas-alert`, `hn-papers`). Must not collide with any existing entry under `skills\u002F`.\n   - **Description** — one sentence, starts with a verb, ≤90 chars.\n   - **Tags** — pick from: `content`, `crypto`, `dev`, `meta`, `news`, `research`, `social`. Max 3.\n   - **Variable behavior** — what `${var}` controls; what happens when empty (sane default OR clean abort with notify).\n   - **Steps** — 4-8 numbered, following the standard pattern: read context → fetch\u002Fsearch → process\u002Fanalyze → write output → log → notify.\n   - **Schedule suggestion** — choose a cron slot. Read existing schedules in `aeon.yml`; avoid co-scheduling at the same minute as heavy skills (article, repo-scanner, deep-research, telegram-digest) unless the new skill is lightweight (\u003C30s expected). Prefer a `:30` minute offset if the natural hour is already crowded.\n   - **Model** - default `claude-sonnet-5-5`. Pick `claude-haiku-5-5` if the skill is high-frequency aggregation\u002Fdigestion (cost optimization), or `claude-opus-5-5` if it needs the strongest reasoning. Document the choice in the PR body.\n   - **Category** - the pack the skill joins. Pick exactly one of `core` `evolution` `basics` `dev` `crypto` `productivity` (the set `scripts\u002Fcheck-skill-categories.sh` enforces; anything else, or a missing category, fails CI). For a new user-facing skill that is usually `basics`, `dev`, `crypto`, or `productivity`. See `docs\u002Fskill-packs.md`.\n\n6. **Write the SKILL.md draft** at `skills\u002F{skill-name}\u002FSKILL.md` with this exact structure:\n\n   ```markdown\n   ---\n   name: {skill-name}\n   description: {One-sentence description starting with a verb}\n   metadata:\n     title: {Display Name}\n     category: {category}\n     var: \"\"\n     tags:\n       - {tag}\n   ---\n   > **${var}** - {What the variable controls}. {If-empty behavior}.\n\n   Today is ${today}. {One sentence describing the task.}\n\n   ## Steps\n\n   1. **{Step title}.** {Specific instructions - endpoints, commands, formats.}\n\n   2. **{Step title}.** {More instructions. Code blocks for curl\u002Fbash when relevant.}\n\n   ...\n\n   N-1. **Log.** Append to `memory\u002Flogs\u002F${today}.md`:\n   - Skill: {skill-name}\n   - What was done and key outputs\n\n   N. **Notify.** Send via `.\u002Fnotify`:\n   {Output format template - specify ≤4000 chars, clickable URLs}\n\n   ## Network note\n\n   {How this skill reaches the network - .\u002Fsecretcurl with an {ENV_NAME} placeholder for auth'd APIs, gh api for GitHub, curl + WebFetch fallback for public}\n   ```\n\n   Hard rules for the generated content:\n   - Complete `curl` commands with proper headers and URL encoding (no pseudo-code).\n   - `jq` parsing for JSON APIs.\n   - Notification character limit explicitly stated (under 4000 chars total).\n   - Every link clickable (full URLs, not placeholders).\n   - Fallback behavior defined for every optional secret.\n   - Use only `${var}` and `${today}` template variables — no other invented variables.\n   - No TODOs, no placeholders, no \"fill in later\".\n   - Mandatory `## Network note` section (accurate model — see the `## Network note` in this skill for the canonical wording; there is no network sandbox).\n\n7. **Quality enforcement (self-edit pass).** Score the draft 1-5 across:\n\n   | Criterion | What to check |\n   |-----------|---------------|\n   | Frontmatter complete | `name`, `category`, `description`, `var`, `tags` present and well-formed |\n   | Var doc | Single `>` block-quote line; if-empty behavior defined |\n   | API calls complete | Curl + headers + jq, not pseudo-code |\n   | Fallback behavior | Graceful degradation for every optional secret |\n   | Output spec | Char limits, clickable URLs, format template explicit |\n   | Network note | Present and matches the auth pattern of the API used (`.\u002Fsecretcurl` for auth'd, `gh api` for GitHub, WebFetch fallback for public) |\n\n   Any criterion \u003C4 → rewrite that section once. Still \u003C4 after one rewrite → exit `CREATE_SKILL_VALIDATION_FAILED` with a notify listing failed criteria. **Do not ship a low-quality skill.**\n\n8. **Post-write validation.** Re-read the SKILL.md from disk and verify:\n   - Frontmatter YAML is parseable; required keys present.\n   - No literal substring matches: `TODO`, `FIXME`, `XXX`, `placeholder`, `fill in`, `lorem`, `\u003Cyour-`, `your_api_key_here`, `example.com`.\n   - Every `${...}` template variable resolves to `${var}` or `${today}`.\n   - At least one `.\u002Fnotify` invocation appears in the body.\n   - At least one `memory\u002Flogs\u002F${today}.md` write appears.\n   - `## Network note` section exists.\n\n   Any failure → delete the partial file and any other writes, exit `CREATE_SKILL_VALIDATION_FAILED` with a notify listing the failed checks. No partial state.\n\n9. **Register in `aeon.yml`.** Insert the new skill in the appropriate time-slot section:\n   - Format: `  {skill-name}: { enabled: false, schedule: \"{suggested_cron}\" }`\n   - Add `model: \"claude-haiku-5-5\"` (or `\"claude-opus-5-5\"`) if chosen in step 5.\n   - Add `var: \"\"` if the skill takes a default var.\n   - Add a brief trailing comment if the name doesn't make purpose obvious.\n   - Place near related skills (crypto with crypto, content with content, etc.).\n   - **Always** `enabled: false`. Operator decides when to turn it on.\n\n   Verify YAML still parses after the edit. If parsing fails, revert the change and exit `CREATE_SKILL_VALIDATION_FAILED`.\n\n9b. **Dry-run gate (blocks a broken generated skill from auto-merge).** Before opening the PR, execute the new skill once with **synthetic** secrets, so a generated skill never reaches production having only ever run with real credentials:\n    ```bash\n    .\u002Fscripts\u002Fdry-run.sh run \"{skill-name}\"\n    ```\n    - The script writes its verdict to `output\u002F.dry-run\u002F{skill-name}.json` by default. A non-zero exit is expected on a failed gate; read the verdict either way.\n    - The script self-checks the `SKILL_DRYRUN` repo variable (default on) and returns a `skipped` verdict when it is `0`.\n    - Read `output\u002F.dry-run\u002F{skill-name}.json`. `passed: true` (or `skipped: true`) means continue. `passed: false` means **delete `skills\u002F{skill-name}\u002F`, revert the `aeon.yml` edit, and exit `CREATE_SKILL_DRYRUN_FAILED`** with a notify listing the verdict `reasons[]`. Do not open the PR.\n    - Put the verdict JSON in the PR body under a `## Dry-run` section either way, so a reviewer sees the gate ran.\n    The gate is **structural** (exit 0, non-empty output, no write outside the declared `mode`, no secret outside `requires:`), and no real credential is ever placed in the run's environment. It does not re-score content; the Haiku scorer already does that.\n\n9c. **Registration checklist (a new skill trips four CI gates; a red one blocks the merge).** The PR must also carry:\n    - `bash scripts\u002Fcheck-skill-categories.sh` passing (category from step 5).\n    - `catalog\u002Fskills.json` + `catalog\u002Fpacks.json` regenerated with `bin\u002Fgenerate-skills-json` and `bin\u002Fgenerate-packs-json`, in a **separate commit after** the SKILL.md commit (the catalog's `sha`\u002F`updated` come from git history).\n    - An `eyebrowlock.json` entry for the new skill: `ci-skill-integrity` hard-fails any skill without one. Run `eyebrow scan` with the version pinned in `.github\u002Fworkflows\u002Fci-skill-integrity.yml` and splice **only** the new skill's artifact into the committed lockfile.\n    - `node scripts\u002Fvalidate-readme-catalog.mjs` passing (README and docs skill counts include the new skill).\n    - The disabled `aeon.yml` entry from step 9.\n    If this run can't execute a step (e.g. no `eyebrow` binary), list the missing steps under a `## Before merge` heading in the PR body instead of skipping them silently.\n\n10. **Open as a PR (never commit to `main`).** Each command is its own call, with the skill name written in literally where it shows `{skill-name}`:\n    ```bash\n    git checkout -b create-skill\u002F{skill-name}\n    ```\n    ```bash\n    git add skills\u002F{skill-name}\u002FSKILL.md aeon.yml\n    ```\n    ```bash\n    git commit -m \"create skill: {skill-name}\n\n    {one-sentence description}\n\n    Generated by create-skill from var: \\\"{request summary, ≤80 chars}\\\"\"\n    ```\n    ```bash\n    git push -u origin create-skill\u002F{skill-name}\n    ```\n    Write the PR body to `\u002Ftmp\u002Fcreate-skill-pr-body.md` with Write:\n    ````markdown\n    ## Skill\n    **Name**: `{skill-name}`\n    **Description**: {description}\n    **Tags**: {tags}\n    **Schedule**: `{cron}` (disabled by default)\n    **Model**: {model}\n    **Var**: {var-doc}\n\n    ## Request\n    ```\n    ${var}\n    ```\n\n    ## Sources researched\n    - {URL 1}\n    - {URL 2}\n    - {URL 3}\n\n    ## Required secrets\n    {list of NEW_SECRET_REQUIRED env vars OR \"None - uses existing secrets\"}\n\n    ## Quality scores\n    | Criterion | Score |\n    |-----------|-------|\n    | Frontmatter | X\u002F5 |\n    | Var doc | X\u002F5 |\n    | API calls | X\u002F5 |\n    | Fallback behavior | X\u002F5 |\n    | Output spec | X\u002F5 |\n    | Network note | X\u002F5 |\n\n    ## Trigger manually\n    Workflow dispatch with `skill={skill-name}` and `var={example-var}`.\n    ````\n    Then open the PR:\n    ```bash\n    gh pr create --title \"create skill: {skill-name}\" --body-file \u002Ftmp\u002Fcreate-skill-pr-body.md\n    ```\n    Capture the PR URL.\n\n11. **Log.** Append to `memory\u002Flogs\u002F${today}.md`:\n    ```\n    ### create-skill\n    - Request: {var, ≤80 chars}\n    - Created: skills\u002F{skill-name}\u002FSKILL.md\n    - Registered in aeon.yml: schedule={cron}, model={model}\n    - Required secrets: {list or \"none\"}\n    - Quality scores: F\u002FV\u002FA\u002FFb\u002FO\u002FN = X\u002FX\u002FX\u002FX\u002FX\u002FX\n    - PR: {url}\n    - Exit: CREATE_SKILL_OK (or CREATE_SKILL_NEW_SECRET_REQUIRED)\n    ```\n\n12. **Notify.** Send via `.\u002Fnotify`:\n    ```\n    *create-skill - {skill-name}*\n    {one-line description}\n    Schedule: `{cron}` (disabled by default)\n    {Required secrets line if any}\n    PR: {url}\n    Trigger: dispatch skill=`{skill-name}` var=`{example}`\n    ```\n\n## Exit taxonomy\n\n| Code | When | Action |\n|------|------|--------|\n| `CREATE_SKILL_OK` | New skill created, validated, PR opened | Notify with PR link |\n| `CREATE_SKILL_NEW_SECRET_REQUIRED` | Same as OK plus operator must add a new secret before enabling | Notify with PR link + secret call-out |\n| `CREATE_SKILL_NO_VAR` | `${var}` empty | Notify abort reason; stop |\n| `CREATE_SKILL_DUPLICATE` | Existing skill covers the request | Notify with existing-skill suggestion; stop |\n| `CREATE_SKILL_INSUFFICIENT_RESEARCH` | Couldn't confirm ≥1 working data source after WebSearch + WebFetch | Notify with what was tried; stop |\n| `CREATE_SKILL_VALIDATION_FAILED` | Quality enforcement or post-write checks failed | Delete partial files; revert aeon.yml; notify with failed criteria; stop |\n| `CREATE_SKILL_DRYRUN_FAILED` | The dry-run gate (step 9b) returned `passed: false` | Delete partial files; revert aeon.yml; notify with verdict reasons; do NOT open the PR; stop |\n\n## Network note\n\nThere is no network sandbox — `curl` works, with **WebFetch** as the fallback for a flaky public GET during research. For an auth'd API the new skill will call, route it through `.\u002Fsecretcurl` with a `{ENV_NAME}` placeholder (the key injected via the skill's `requires:`), and `gh api` for GitHub. **Irreversible side-effects** (email, spend, on-chain writes, deploys) run **in-run** via `.\u002Fsecretcurl` as the skill's final, fail-closed action — there is no deferred\u002Fpostprocess step, and never defer a read (see CLAUDE.md).\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`X=$(...)`, `name=...`, `VAR=... cmd`), uses `for` \u002F `if`, contains `$(...)`, starts with `bash`, or joins commands with `;`, `&&` or `||`, and each refusal costs a model turn. So pick the duplicate-check keywords yourself and grep once per keyword, run each `git` step as its own call with the skill name written in literally, and pass the PR body with `--body-file` (written with Write) instead of `--body \"$(cat \u003C\u003C'EOF' ...)\"`. The key check in step 4 is text for the generated skill, not a command this run executes.\n\n## Constraints\n\n- **Never** commit a generated skill directly to `main`. Always open a PR.\n- **Never** enable a generated skill in `aeon.yml` (`enabled: false` always — operator decides).\n- **Never** add an API key\u002Fsecret to the workflow that isn't already there. Surface as `NEW_SECRET_REQUIRED` and document in the PR body.\n- **Never** ship a skill that fails validation. Aborting cleanly is always better than shipping broken.\n- **Never** overwrite an existing `skills\u002F{name}\u002FSKILL.md` — name collisions are blocking errors.\n","> **${var}** — A natural-language description of the skill to create. **Required.** Example: `\"monitor Hacker News for AI papers and send a summary\"` or `\"track gas prices on Ethereum and alert when below 10 gwei\"`.\n\n\u003C!-- autoresearch: variation B — sharper output via PR-first workflow + quality enforcement + exit taxonomy + new-secret guard -->\n\nIf `${var}` is empty, exit `CREATE_SKILL_NO_VAR`:\n```bash\n.\u002Fnotify \"create-skill aborted: var empty — pass a description e.g. \\\"monitor X for Y\\\"\"\n```\nThen stop.\n\nToday is ${today}. Your task is to generate a complete, production-ready skill from `${var}`, score it against a quality bar, and ship it as a PR — **never commit directly to `main`**.\n\n## Steps\n\n1. **Parse the request.** Extract from `${var}`:\n   - Core action verb (monitor, fetch, generate, analyze, alert, track, scan, etc.)\n   - Data source(s) — APIs, websites, RSS, on-chain, GitHub, etc.\n   - Output format — notification, article, file, PR, dashboard, etc.\n   - Configurable parameter(s) the new skill will accept via its own `${var}`\n   - Suggested cadence (daily, hourly, weekly, on-demand)\n\n   Save a one-paragraph structured request summary; you'll use it in the PR body.\n\n2. **Duplicate detection (deep — not just `ls`).** Find functional overlap, not just name collision.\n   Pick the keywords yourself (no shell text tools; see **Shell shape** in the Network note): lowercase `${var}`, keep each word of 4+ letters, drop `send with from that this when each into over some like just than then also will have been using monitor track fetch alert`, and dedupe. Then one call per keyword, written in literally:\n   ```bash\n   grep -liE \"\u003CKEYWORD>\" skills\u002F*\u002FSKILL.md | head -5\n   ```\n   Read the top 3 candidates fully. For each, judge: does it already do this? Could the request be solved by running an existing skill with a different `var=`?\n   - **Near-duplicate exists** → exit `CREATE_SKILL_DUPLICATE`. Notify with the existing skill name and a one-line suggestion (\"use existing `{skill}` with `var={...}` instead\"). Stop.\n   - **Functionally adjacent** → design the new skill to complement (different angle\u002Fcadence\u002Foutput). Document the boundary in the PR body.\n\n3. **Research the data sources.** For every API or data source the new skill needs:\n   - **WebSearch** for the current API documentation. Cross-check against a secondary source when feasible (a recent GitHub repo using it, an official changelog, or a Stack Overflow answer dated ≥2026) to confirm the endpoint isn't deprecated.\n   - **WebFetch** the canonical docs URL — record it as a comment in the SKILL.md and in the PR body's \"Sources researched\" section.\n   - Identify exact endpoints, required headers, auth scheme, response schema, and rate limits.\n   - Note every required environment variable \u002F API key.\n   - Determine fallback strategy when an optional API key isn't set (WebSearch \u002F WebFetch \u002F cached data \u002F public endpoint).\n\n   **Research bar (soft):** at least one confirmed source URL or exemplar (a working docs page or a public repo using the API). If none, do **not** hard-abort — log `CREATE_SKILL_INSUFFICIENT_RESEARCH`, ask the operator via `.\u002Fnotify` with what was tried and why each source failed, and stop. The operator can re-dispatch with a clearer prompt or a source hint.\n\n4. **New-secret guard.** Secrets values are never inspectable from the workflow — only names are listed. Use `gh api repos\u002F:owner\u002F:repo\u002Factions\u002Fsecrets --jq '.secrets[].name'` to read the **names** of secrets already configured (this endpoint returns names only, never values). Cross-reference with env-var usage in `aeon.yml` and existing workflows. For each env var the new skill needs:\n   - **Name present** → continue.\n   - **Name missing** → record as `NEW_SECRET_REQUIRED`. The generated skill **must** gracefully degrade or skip when the secret is absent (no hard crash). Add a `### Required secrets` section to the PR body listing what the operator must add to GitHub Actions secrets before enabling.\n\n   If the secret has no graceful fallback, the generated skill's step 1 must say: read the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn); when `VAR` is not on that line, send `.\u002Fnotify \"{skill} skipped: VAR not set\"` and stop. Declare `VAR` in the generated skill's `requires:`: that is what puts it on the line.\n\n5. **Design the skill.** Decide:\n   - **Skill name** — lowercase, hyphenated, 2-3 words max (e.g., `gas-alert`, `hn-papers`). Must not collide with any existing entry under `skills\u002F`.\n   - **Description** — one sentence, starts with a verb, ≤90 chars.\n   - **Tags** — pick from: `content`, `crypto`, `dev`, `meta`, `news`, `research`, `social`. Max 3.\n   - **Variable behavior** — what `${var}` controls; what happens when empty (sane default OR clean abort with notify).\n   - **Steps** — 4-8 numbered, following the standard pattern: read context → fetch\u002Fsearch → process\u002Fanalyze → write output → log → notify.\n   - **Schedule suggestion** — choose a cron slot. Read existing schedules in `aeon.yml`; avoid co-scheduling at the same minute as heavy skills (article, repo-scanner, deep-research, telegram-digest) unless the new skill is lightweight (\u003C30s expected). Prefer a `:30` minute offset if the natural hour is already crowded.\n   - **Model** - default `claude-sonnet-5-5`. Pick `claude-haiku-5-5` if the skill is high-frequency aggregation\u002Fdigestion (cost optimization), or `claude-opus-5-5` if it needs the strongest reasoning. Document the choice in the PR body.\n   - **Category** - the pack the skill joins. Pick exactly one of `core` `evolution` `basics` `dev` `crypto` `productivity` (the set `scripts\u002Fcheck-skill-categories.sh` enforces; anything else, or a missing category, fails CI). For a new user-facing skill that is usually `basics`, `dev`, `crypto`, or `productivity`. See `docs\u002Fskill-packs.md`.\n\n6. **Write the SKILL.md draft** at `skills\u002F{skill-name}\u002FSKILL.md` with this exact structure:\n\n   ```markdown\n   ---\n   name: {skill-name}\n   description: {One-sentence description starting with a verb}\n   metadata:\n     title: {Display Name}\n     category: {category}\n     var: \"\"\n     tags:\n       - {tag}\n   ---\n   > **${var}** - {What the variable controls}. {If-empty behavior}.\n\n   Today is ${today}. {One sentence describing the task.}\n\n   ## Steps\n\n   1. **{Step title}.** {Specific instructions - endpoints, commands, formats.}\n\n   2. **{Step title}.** {More instructions. Code blocks for curl\u002Fbash when relevant.}\n\n   ...\n\n   N-1. **Log.** Append to `memory\u002Flogs\u002F${today}.md`:\n   - Skill: {skill-name}\n   - What was done and key outputs\n\n   N. **Notify.** Send via `.\u002Fnotify`:\n   {Output format template - specify ≤4000 chars, clickable URLs}\n\n   ## Network note\n\n   {How this skill reaches the network - .\u002Fsecretcurl with an {ENV_NAME} placeholder for auth'd APIs, gh api for GitHub, curl + WebFetch fallback for public}\n   ```\n\n   Hard rules for the generated content:\n   - Complete `curl` commands with proper headers and URL encoding (no pseudo-code).\n   - `jq` parsing for JSON APIs.\n   - Notification character limit explicitly stated (under 4000 chars total).\n   - Every link clickable (full URLs, not placeholders).\n   - Fallback behavior defined for every optional secret.\n   - Use only `${var}` and `${today}` template variables — no other invented variables.\n   - No TODOs, no placeholders, no \"fill in later\".\n   - Mandatory `## Network note` section (accurate model — see the `## Network note` in this skill for the canonical wording; there is no network sandbox).\n\n7. **Quality enforcement (self-edit pass).** Score the draft 1-5 across:\n\n   | Criterion | What to check |\n   |-----------|---------------|\n   | Frontmatter complete | `name`, `category`, `description`, `var`, `tags` present and well-formed |\n   | Var doc | Single `>` block-quote line; if-empty behavior defined |\n   | API calls complete | Curl + headers + jq, not pseudo-code |\n   | Fallback behavior | Graceful degradation for every optional secret |\n   | Output spec | Char limits, clickable URLs, format template explicit |\n   | Network note | Present and matches the auth pattern of the API used (`.\u002Fsecretcurl` for auth'd, `gh api` for GitHub, WebFetch fallback for public) |\n\n   Any criterion \u003C4 → rewrite that section once. Still \u003C4 after one rewrite → exit `CREATE_SKILL_VALIDATION_FAILED` with a notify listing failed criteria. **Do not ship a low-quality skill.**\n\n8. **Post-write validation.** Re-read the SKILL.md from disk and verify:\n   - Frontmatter YAML is parseable; required keys present.\n   - No literal substring matches: `TODO`, `FIXME`, `XXX`, `placeholder`, `fill in`, `lorem`, `\u003Cyour-`, `your_api_key_here`, `example.com`.\n   - Every `${...}` template variable resolves to `${var}` or `${today}`.\n   - At least one `.\u002Fnotify` invocation appears in the body.\n   - At least one `memory\u002Flogs\u002F${today}.md` write appears.\n   - `## Network note` section exists.\n\n   Any failure → delete the partial file and any other writes, exit `CREATE_SKILL_VALIDATION_FAILED` with a notify listing the failed checks. No partial state.\n\n9. **Register in `aeon.yml`.** Insert the new skill in the appropriate time-slot section:\n   - Format: `  {skill-name}: { enabled: false, schedule: \"{suggested_cron}\" }`\n   - Add `model: \"claude-haiku-5-5\"` (or `\"claude-opus-5-5\"`) if chosen in step 5.\n   - Add `var: \"\"` if the skill takes a default var.\n   - Add a brief trailing comment if the name doesn't make purpose obvious.\n   - Place near related skills (crypto with crypto, content with content, etc.).\n   - **Always** `enabled: false`. Operator decides when to turn it on.\n\n   Verify YAML still parses after the edit. If parsing fails, revert the change and exit `CREATE_SKILL_VALIDATION_FAILED`.\n\n9b. **Dry-run gate (blocks a broken generated skill from auto-merge).** Before opening the PR, execute the new skill once with **synthetic** secrets, so a generated skill never reaches production having only ever run with real credentials:\n    ```bash\n    .\u002Fscripts\u002Fdry-run.sh run \"{skill-name}\"\n    ```\n    - The script writes its verdict to `output\u002F.dry-run\u002F{skill-name}.json` by default. A non-zero exit is expected on a failed gate; read the verdict either way.\n    - The script self-checks the `SKILL_DRYRUN` repo variable (default on) and returns a `skipped` verdict when it is `0`.\n    - Read `output\u002F.dry-run\u002F{skill-name}.json`. `passed: true` (or `skipped: true`) means continue. `passed: false` means **delete `skills\u002F{skill-name}\u002F`, revert the `aeon.yml` edit, and exit `CREATE_SKILL_DRYRUN_FAILED`** with a notify listing the verdict `reasons[]`. Do not open the PR.\n    - Put the verdict JSON in the PR body under a `## Dry-run` section either way, so a reviewer sees the gate ran.\n    The gate is **structural** (exit 0, non-empty output, no write outside the declared `mode`, no secret outside `requires:`), and no real credential is ever placed in the run's environment. It does not re-score content; the Haiku scorer already does that.\n\n9c. **Registration checklist (a new skill trips four CI gates; a red one blocks the merge).** The PR must also carry:\n    - `bash scripts\u002Fcheck-skill-categories.sh` passing (category from step 5).\n    - `catalog\u002Fskills.json` + `catalog\u002Fpacks.json` regenerated with `bin\u002Fgenerate-skills-json` and `bin\u002Fgenerate-packs-json`, in a **separate commit after** the SKILL.md commit (the catalog's `sha`\u002F`updated` come from git history).\n    - An `eyebrowlock.json` entry for the new skill: `ci-skill-integrity` hard-fails any skill without one. Run `eyebrow scan` with the version pinned in `.github\u002Fworkflows\u002Fci-skill-integrity.yml` and splice **only** the new skill's artifact into the committed lockfile.\n    - `node scripts\u002Fvalidate-readme-catalog.mjs` passing (README and docs skill counts include the new skill).\n    - The disabled `aeon.yml` entry from step 9.\n    If this run can't execute a step (e.g. no `eyebrow` binary), list the missing steps under a `## Before merge` heading in the PR body instead of skipping them silently.\n\n10. **Open as a PR (never commit to `main`).** Each command is its own call, with the skill name written in literally where it shows `{skill-name}`:\n    ```bash\n    git checkout -b create-skill\u002F{skill-name}\n    ```\n    ```bash\n    git add skills\u002F{skill-name}\u002FSKILL.md aeon.yml\n    ```\n    ```bash\n    git commit -m \"create skill: {skill-name}\n\n    {one-sentence description}\n\n    Generated by create-skill from var: \\\"{request summary, ≤80 chars}\\\"\"\n    ```\n    ```bash\n    git push -u origin create-skill\u002F{skill-name}\n    ```\n    Write the PR body to `\u002Ftmp\u002Fcreate-skill-pr-body.md` with Write:\n    ````markdown\n    ## Skill\n    **Name**: `{skill-name}`\n    **Description**: {description}\n    **Tags**: {tags}\n    **Schedule**: `{cron}` (disabled by default)\n    **Model**: {model}\n    **Var**: {var-doc}\n\n    ## Request\n    ```\n    ${var}\n    ```\n\n    ## Sources researched\n    - {URL 1}\n    - {URL 2}\n    - {URL 3}\n\n    ## Required secrets\n    {list of NEW_SECRET_REQUIRED env vars OR \"None - uses existing secrets\"}\n\n    ## Quality scores\n    | Criterion | Score |\n    |-----------|-------|\n    | Frontmatter | X\u002F5 |\n    | Var doc | X\u002F5 |\n    | API calls | X\u002F5 |\n    | Fallback behavior | X\u002F5 |\n    | Output spec | X\u002F5 |\n    | Network note | X\u002F5 |\n\n    ## Trigger manually\n    Workflow dispatch with `skill={skill-name}` and `var={example-var}`.\n    ````\n    Then open the PR:\n    ```bash\n    gh pr create --title \"create skill: {skill-name}\" --body-file \u002Ftmp\u002Fcreate-skill-pr-body.md\n    ```\n    Capture the PR URL.\n\n11. **Log.** Append to `memory\u002Flogs\u002F${today}.md`:\n    ```\n    ### create-skill\n    - Request: {var, ≤80 chars}\n    - Created: skills\u002F{skill-name}\u002FSKILL.md\n    - Registered in aeon.yml: schedule={cron}, model={model}\n    - Required secrets: {list or \"none\"}\n    - Quality scores: F\u002FV\u002FA\u002FFb\u002FO\u002FN = X\u002FX\u002FX\u002FX\u002FX\u002FX\n    - PR: {url}\n    - Exit: CREATE_SKILL_OK (or CREATE_SKILL_NEW_SECRET_REQUIRED)\n    ```\n\n12. **Notify.** Send via `.\u002Fnotify`:\n    ```\n    *create-skill - {skill-name}*\n    {one-line description}\n    Schedule: `{cron}` (disabled by default)\n    {Required secrets line if any}\n    PR: {url}\n    Trigger: dispatch skill=`{skill-name}` var=`{example}`\n    ```\n\n## Exit taxonomy\n\n| Code | When | Action |\n|------|------|--------|\n| `CREATE_SKILL_OK` | New skill created, validated, PR opened | Notify with PR link |\n| `CREATE_SKILL_NEW_SECRET_REQUIRED` | Same as OK plus operator must add a new secret before enabling | Notify with PR link + secret call-out |\n| `CREATE_SKILL_NO_VAR` | `${var}` empty | Notify abort reason; stop |\n| `CREATE_SKILL_DUPLICATE` | Existing skill covers the request | Notify with existing-skill suggestion; stop |\n| `CREATE_SKILL_INSUFFICIENT_RESEARCH` | Couldn't confirm ≥1 working data source after WebSearch + WebFetch | Notify with what was tried; stop |\n| `CREATE_SKILL_VALIDATION_FAILED` | Quality enforcement or post-write checks failed | Delete partial files; revert aeon.yml; notify with failed criteria; stop |\n| `CREATE_SKILL_DRYRUN_FAILED` | The dry-run gate (step 9b) returned `passed: false` | Delete partial files; revert aeon.yml; notify with verdict reasons; do NOT open the PR; stop |\n\n## Network note\n\nThere is no network sandbox — `curl` works, with **WebFetch** as the fallback for a flaky public GET during research. For an auth'd API the new skill will call, route it through `.\u002Fsecretcurl` with a `{ENV_NAME}` placeholder (the key injected via the skill's `requires:`), and `gh api` for GitHub. **Irreversible side-effects** (email, spend, on-chain writes, deploys) run **in-run** via `.\u002Fsecretcurl` as the skill's final, fail-closed action — there is no deferred\u002Fpostprocess step, and never defer a read (see CLAUDE.md).\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`X=$(...)`, `name=...`, `VAR=... cmd`), uses `for` \u002F `if`, contains `$(...)`, starts with `bash`, or joins commands with `;`, `&&` or `||`, and each refusal costs a model turn. So pick the duplicate-check keywords yourself and grep once per keyword, run each `git` step as its own call with the skill name written in literally, and pass the PR body with `--body-file` (written with Write) instead of `--body \"$(cat \u003C\u003C'EOF' ...)\"`. The key check in step 4 is text for the generated skill, not a command this run executes.\n\n## Constraints\n\n- **Never** commit a generated skill directly to `main`. Always open a PR.\n- **Never** enable a generated skill in `aeon.yml` (`enabled: false` always — operator decides).\n- **Never** add an API key\u002Fsecret to the workflow that isn't already there. Surface as `NEW_SECRET_REQUIRED` and document in the PR body.\n- **Never** ship a skill that fails validation. Aborting cleanly is always better than shipping broken.\n- **Never** overwrite an existing `skills\u002F{name}\u002FSKILL.md` — name collisions are blocking errors.\n",{"name":5,"metadata":45,"description":7},{"var":46,"tags":47,"title":49,"category":32},"",[28,48],"meta","Create Skill","main","504a21d53c0c9b485f6e90c43db83000825e1d3c","skills\u002Fcreate-skill",308,"https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon","https:\u002F\u002Fwww.aeon.fun\u002F","https:\u002F\u002Fgithub.com\u002Faeonfun","The most autonomous agent framework.","2026-11-15 03:40:18",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add aeonfun\u002Faeon --skill create-skill",{"tool":65,"command":66},"bunx","bunx skills add aeonfun\u002Faeon --skill create-skill",{"tool":68,"command":69},"pnpm","pnpm dlx skills add aeonfun\u002Faeon --skill create-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fskills\u002Fcreate-skill\u002FSKILL.md",true,[],[74,81,87,93,99,105],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M7DSM3QWBJ44FKRMDDRAGNET","Warn Mixed Script","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fwarn-mixed-script\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":80},"01M7DSM0496DRYYW5A4NAAHZDX","Warn Hidden CSS","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fwarn-hidden-css\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":80},"01M7DSKWCGDVYZSDJM31YHS2JB","Malicious Injection Uppercase","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-uppercase\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":80},"01M7DSKRV2RRA1V0HK13KYWJXD","Malicious Injection Homoglyph","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-homoglyph\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":80},"01M7DSKMXJKY0167YHVCKF7B49","Malicious Injection Disregard Prior","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-disregard-prior\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":80},"01M7DSKGFQ5V2VNSA4K97CVFMB","Benign Greek Math","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fbenign-greek-math\u002FSKILL.md",[],[]]