[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75TT98KF65BJQNPQ61GQFKV":3,"skill-same:01M75TT98KF65BJQNPQ61GQFKV":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":27,"install":28,"resources":41},"01M75TT98KF65BJQNPQ61GQFKV","actions",null,"damien-robotsix\u002Frobotsix-chat","damien-robotsix","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130368771?v=4","01M75TS5N09AA5MQAS3V6TPNM5","Damien SIX","01M75TS5NMBPJ3RRHERKBVA7DY",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Frepo\u002Factions\u002Fskill.md",[],[],"2026-11-12 13:55:43",false,"# GitHub Actions\n\n## PUT \u002Fchat\u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Factions\u002Fsecrets\u002F{secret_name}\n\nCreate or update a repository Actions secret. The secret value is encrypted with the repo's public\nkey before transmission — the server never retains the plaintext.\n\n**This is a confirmation-gated mutation.** Before calling, confirm the exact repo name and secret\nname with the user in-chat. Never create or update secrets without explicit user approval in the\nconversation — the endpoint modifies live repository configuration.\n\n### Request\n\n- **Method:** `PUT`\n- **Auth:** `X-API-Key` header (server-side `central_deploy.deploy_api_key`)\n- **Content-Type:** `application\u002Fjson`\n\n#### Path parameters\n\n| Parameter     | Description                                |\n| ------------- | ------------------------------------------ |\n| `owner`       | GitHub organisation or user name           |\n| `repo`        | Repository name (not `owner\u002Frepo`)         |\n| `secret_name` | Actions secret name (e.g. `OVH_SFTP_HOST`) |\n\n#### Body (JSON)\n\n| Field          | Type   | Description                    |\n| -------------- | ------ | ------------------------------ |\n| `secret_value` | string | The plaintext value to encrypt |\n\n### Response\n\n| Status | Meaning                                                                               |\n| ------ | ------------------------------------------------------------------------------------- |\n| 200    | Secret set successfully — body includes the repo and secret name                      |\n| 400    | Invalid body (missing `secret_value`) or missing path params                          |\n| 403    | Invalid or missing `X-API-Key` header                                                 |\n| 404    | Repository not in the GitHub App installation scope                                   |\n| 503    | `github_actions` not configured (disabled or missing `central_deploy.deploy_api_key`) |\n\n## POST \u002Fchat\u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Factions\u002Fworkflows\u002F{workflow_id}\u002Fdispatches\n\nTrigger a `workflow_dispatch` event on a repository workflow.\n\n**This is a confirmation-gated mutation.** Before calling, confirm the exact repo, workflow, ref,\nand inputs with the user in-chat.\n\n### Request\n\n- **Method:** `POST`\n- **Auth:** `X-API-Key` header (server-side `central_deploy.deploy_api_key`)\n- **Content-Type:** `application\u002Fjson`\n\n#### Path parameters\n\n| Parameter     | Description                                                   |\n| ------------- | ------------------------------------------------------------- |\n| `owner`       | GitHub organisation or user name                              |\n| `repo`        | Repository name (not `owner\u002Frepo`)                            |\n| `workflow_id` | Workflow file name (e.g. `deploy.yml`) or numeric workflow ID |\n\n#### Body (JSON)\n\n| Field    | Type   | Description                                             |\n| -------- | ------ | ------------------------------------------------------- |\n| `ref`    | string | Branch or tag to run the workflow on (default `\"main\"`) |\n| `inputs` | object | Optional key\u002Fvalue pairs of workflow inputs             |\n\n#### Example\n\n```json\n{\n  \"ref\": \"main\",\n  \"inputs\": {\n    \"environment\": \"production\"\n  }\n}\n```\n\n### Response\n\n| Status | Meaning                                                                               |\n| ------ | ------------------------------------------------------------------------------------- |\n| 200    | Workflow dispatched successfully                                                      |\n| 400    | Invalid body (missing `ref`) or missing path params                                   |\n| 403    | Invalid or missing `X-API-Key` header                                                 |\n| 404    | Repository not in the GitHub App installation scope                                   |\n| 503    | `github_actions` not configured (disabled or missing `central_deploy.deploy_api_key`) |\n\n## Agent tool: `check_workflow_run`\n\nFetch recent workflow runs and diagnose common CI failure patterns. This is a read-only agent tool\n(no HTTP endpoint) that inspects workflow runs and detects known failure signatures.\n\nIn particular, it detects **workflow infrastructure failures** — runs that complete with\n`conclusion: \"failure\"` but have zero jobs, or runs that never started (`run_started_at` is null).\n\n**Deterministic `startup_failure` classification (never guess billing vs. config).** A run whose\nconclusion is `startup_failure` produced **zero jobs** — GitHub rejected the workflow file before\nany job started, so there are no job logs. The tool classifies such runs by checking sibling\nworkflows on the **same commit** (`head_sha`):\n\n- If **any sibling workflow on the same commit reached job execution** (terminal conclusion\n  `success` \u002F `failure` \u002F `timed_out` \u002F `action_required`), the account\u002Frunner plane is provably\n  fine → the failure is a **per-workflow config issue** (trigger, `permissions:`, or a malformed\n  reusable-workflow `uses:`). Fix the workflow file itself.\n- If **no sibling reached job execution** (every workflow on the commit produced zero jobs, or there\n  are no siblings at all), it is an **account\u002Frunner issue** — file an operator-action ticket. Do\n  **not** edit workflow files for this classification.\n\nReport the classification the tool returns verbatim. Do not speculate a billing diagnosis when the\nclassification says per-workflow config, and do not propose workflow-file edits when it says\naccount\u002Frunner.\n\nThe diagnosis is tailored to the repository's visibility:\n\n- **Public repos:** billing is never the cause (GitHub Actions is free for public repos). The\n  diagnosis focuses on trigger configuration mismatches, missing reusable workflow files, and\n  input-contract mismatches (e.g. a required `workflow_call` input not provided).\n- **Private repos:** billing may be the cause, but the tool cross-checks whether other workflow runs\n  on the same commit completed successfully — if they did, the root cause is likely a trigger\n  configuration mismatch rather than a billing issue (billing would block all workflows).\n\n**Read-only.** Does not modify any repository state. No confirmation gating — safe to call anytime\nto investigate a CI failure.\n\n## Agent tool: `fetch_workflow_run_annotations`\n\nFetch annotations for all check runs in a GitHub Actions workflow run. Annotations are the inline\ndiagnostic messages that GitHub Actions surfaces on files — linter warnings, compiler errors, test\nfailure details — grouped by check run. Each annotation includes the file path, line range,\nannotation level (`failure`, `warning`, `notice`), title, and the full message text.\n\nUse this when a CI run fails and you need the exact annotation text to diagnose the root cause\n(rather than rendering the entire GitHub Actions UI page, which can produce very large blobs).\n\nTakes a repository name and a workflow run id (the numeric id from the Actions tab URL). Returns a\nMarkdown-formatted string with all annotations grouped by check run, or a diagnostic message when no\nannotations are found.\n\n### Permission fallback\n\nWhen the GitHub App installation token lacks the `checks: read` permission, the Checks API returns\n403 and annotations are unavailable. In that case the tool falls back to fetching raw job logs via\nthe Actions API (`\u002Factions\u002Fjobs\u002F{job_id}\u002Flogs`) for every failed job in the run. The raw logs are\nreturned as truncated Markdown code blocks — less structured than annotations, but often contain the\nsame diagnostic output (linter errors, test failures, stack traces).\n\nIf the Actions API also fails or the run has no failed jobs, the tool returns a diagnostic message\nexplaining the gap. When you receive raw logs instead of annotations, note the permission gap and\nsuggest the repo admin grant the `checks: read` permission on the GitHub App installation for richer\ndiagnostics in the future.\n\n**Read-only.** Does not modify any repository state. No confirmation gating — safe to call anytime\nto investigate a CI failure.\n\n## Agent tool: `fetch_job_log`\n\nFetch the raw plain-text log for a specific GitHub Actions job. This is a lower-level tool that\nretrieves the job's console output directly from the GitHub API (follows the 302 redirect to the\nsigned log URL server-side).\n\nUse this as a **fallback** when `fetch_workflow_run_annotations` returns a permission error (403) or\nwhen the check-run annotations endpoint is unavailable — job logs use a different API endpoint\n(`\u002Frepos\u002F{owner}\u002F{repo}\u002Factions\u002Fjobs\u002F{job_id}\u002Flogs`) that may still be accessible even when the\nchecks API is not.\n\nLong logs are automatically truncated at 8000 characters to fit within the agent's context window.\n\n**Read-only.** Does not modify any repository state. No confirmation gating — safe to call anytime\nto investigate a CI failure.\n\n### Fallback strategy for CI diagnosis\n\nWhen a CI run fails and you need to diagnose the root cause:\n\n1. **First**, call `fetch_workflow_run_annotations` to get inline annotations (linter errors, test\n   failures, etc.).\n1. **If that fails** (especially with a 403 permission error), `fetch_workflow_run_annotations`\n   automatically falls back to raw job logs for failed jobs. The returned message will include\n   whatever logs could be retrieved.\n1. **For a specific job's log**, call `fetch_job_log` directly with the job ID (found via\n   `check_workflow_run` or in the Actions tab URL).\n1. **If everything fails**, the tool will clearly state that logs are inaccessible and suggest\n   checking the GitHub Actions UI manually, including the direct URL to the workflow run.\n\n**Limitation:** When the GitHub App installation lacks both `checks: read` and `actions: read`\npermissions, neither annotations nor job logs are accessible. In this case, the user must check the\nlogs manually at `https:\u002F\u002Fgithub.com\u002F{owner}\u002F{repo}\u002Factions\u002Fruns\u002F{run_id}`.\n\n## Fast heuristics (moved from the system prompt, 2026-09-08)\n\n– Reusable-workflow startup_failure: when a GitHub Actions reusable-workflow call fails at startup,\napply this fast heuristic before any multi-step file reading. If ALL callers pinned to the same\nreusable-workflow commit SHA fail at startup while callers pinned to a different SHA succeed, the\ncause is almost always an input-contract mismatch at that SHA: diff each failing caller's `with:`\ninputs against the `workflow_call:` inputs declared at the pinned SHA, and if a caller passes an\ninput that is not declared (e.g. `sync-args`), flag that unknown input immediately and stop — the\nfix is removing the undeclared input or pinning the caller to the SHA that declares it. Do not spend\nturns checking SHAs, listing files, or re-reading caller\u002Fcallee declarations when this one diff\nanswers it.\n",{},"main","c1d7c05ced8b81c2750ddc6e5e49a7803fc90940","src\u002Frobotsix_chat\u002Frepo\u002Factions","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix","2026-11-14 18:49:02",{"source":7,"skillName":5,"commands":29,"prompt":39,"zipAvailable":40},[30,33,36],{"tool":31,"command":32},"npx","npx skills add damien-robotsix\u002Frobotsix-chat --skill actions",{"tool":34,"command":35},"bunx","bunx skills add damien-robotsix\u002Frobotsix-chat --skill actions",{"tool":37,"command":38},"pnpm","pnpm dlx skills add damien-robotsix\u002Frobotsix-chat --skill actions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Frepo\u002Factions\u002Fskill.md",true,[42],{"path":43,"resourceType":44,"resourceTypeDesc":45,"sizeBytes":46,"sourceHtmlUrl":47},"__init__.py","SCRIPT","脚本",15980,"https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Frepo\u002Factions\u002F__init__.py",[49,55,61,67,73,79],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M75TTQ70FE02S8DNAB423T5H","volume_tools","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Fvolume_tools\u002Fskill.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75TTNCPAPZBKHJTM4WFVAP1","ticket_poll","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Fticket_poll\u002Fskill.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M75TTHW71NXKXW144682SPF1","subsessions","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Fsubsessions\u002Fskill.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75TTGBAFPVH6759BNB3G3NR","security","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Frepo\u002Fsecurity\u002Fskill.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M75TTCZN8GTQQ92GR7Z6E7Y2","direct","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Frepo\u002Fdirect\u002Fskill.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75TT6G40RCR0E5P4KFP7ZEN","render_url","https:\u002F\u002Fgithub.com\u002Fdamien-robotsix\u002Frobotsix-chat\u002Fblob\u002Fmain\u002Fsrc\u002Frobotsix_chat\u002Frender_url\u002Fskill.md",[],[]]