[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JF1VN4DS07KZRF2846WDQ":3,"skill-same:01M75JF1VN4DS07KZRF2846WDQ":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M75JF1VN4DS07KZRF2846WDQ","configure-agent-pr-attestation",null,"Use when asked to set up PR attestation, install harness-scs attestation hook, configure agent attestor, troubleshoot why agent attestation isn't uploading, or reconfigure an existing attestation hook (different SCM, new cosign key, updated Harness identity). Trigger phrases: set up PR attestation, install harness-scs attestation hook, configure agent attestor, why isn't my agent attestation uploading, set up agent attestation, configure PR signing, install attestation hook, configure claude attestation.","AdmiralGallade\u002Fharness-repository","AdmiralGallade","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F59243621?v=4","01M759AG0891RDPWNGJBX1Y2TG","01M759AG10MS924J53ZWJ60AEC",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fconfigure-agent-pr-attestation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: configure-agent-pr-attestation\ndescription: >-\n  Use when asked to set up PR attestation, install harness-scs attestation hook,\n  configure agent attestor, troubleshoot why agent attestation isn't uploading,\n  or reconfigure an existing attestation hook (different SCM, new cosign key, updated Harness identity).\n  Trigger phrases: set up PR attestation, install harness-scs attestation hook, configure agent attestor,\n  why isn't my agent attestation uploading, set up agent attestation, configure PR signing,\n  install attestation hook, configure claude attestation.\nmetadata:\n  author: Harness\n  version: 1.0.0\n  mcp-server: harness-mcp-v2\nlicense: Apache-2.0\ncompatibility: Requires harness-scs CLI binary and cosign for signing. Currently supports Claude Code as the agent runtime.\n---\n\n# Configure Agent PR Attestation\n\nSets up a `PostToolUse` hook that signs and uploads an in-toto attestation\nto the Harness Evidence Vault every time an AI coding agent creates a PR\u002FMR.\n\n## Instructions\n\nFollow these steps in exact order. Do NOT skip steps or reorder them.\n\n### Step 1: Check Prerequisites\n\nRun these checks and report what's missing. Do not proceed until all are installed.\n\n```bash\ncommand -v harness-scs\ncommand -v jq\ncommand -v git\ncommand -v cosign\n```\n\nIf `harness-scs` is missing, tell the user:\n\n```bash\ntask compile-harness-scs && sudo mv harness-scs \u002Fusr\u002Flocal\u002Fbin\u002F\n```\n\n### Step 2: Ask for SCM\n\nAsk the user which tool they use to create PRs\u002FMRs. Use `AskUserQuestion`.\n\nOptions:\n\n| Choice | command_filter | url_pattern |\n| --- | --- | --- |\n| Harness CLI (codepulse pr create) | `codepulse pr create` | `https:\u002F\u002F[^\u002F]*\\.harness\\.io\u002F.*\u002Fpulls\u002F[0-9]+(\u002F.*)?` |\n| GitHub CLI (gh pr create) | `gh pr create` | `https:\u002F\u002Fgithub\\.com\u002F[^ ]+\u002Fpull\u002F[0-9]+` |\n| GitLab CLI (glab mr create) | `glab mr create` | `https:\u002F\u002F[^ ]+\u002F-\u002Fmerge_requests\u002F[0-9]+` |\n| Bitbucket CLI (bb pr create) | `bb pr create` | `https:\u002F\u002F[^ ]+\u002Fpull-requests\u002F[0-9]+` |\n| Azure DevOps CLI (az repos pr create) | `az repos pr create` | `https:\u002F\u002F[^ ]+\u002F_git\u002F[^ ]+\u002Fpullrequest\u002F[0-9]+` |\n| Gitea \u002F Forgejo (tea pr create) | `tea pr create` | `https:\u002F\u002F[^ ]+\u002Fpulls\u002F[0-9]+` |\n\nIf user picks GitLab, Bitbucket, Gitea, or Custom — also ask if self-hosted.\nIf self-hosted, ask for hostname and replace the generic `[^ ]+` host in the\nurl_pattern with their specific escaped hostname.\n\nIf user picks \"Other \u002F custom\":\n1. Ask for the exact command they run.\n2. Ask for an example PR URL their tool prints.\n3. Derive `command_filter` and `url_pattern`, show to user, confirm.\n\n### Step 3: Set up Harness Identity (auth.json)\n\nCheck if `~\u002F.harness\u002Fauth.json` already exists:\n\n```bash\ntest -r ~\u002F.harness\u002Fauth.json && jq -e '.token and .account_id' ~\u002F.harness\u002Fauth.json >\u002Fdev\u002Fnull 2>&1\n```\n\n**If auth.json exists and is valid:** Tell the user \"Found existing ~\u002F.harness\u002Fauth.json\" and move to Step 4.\n\n**If auth.json does NOT exist:** Ask the user for these values:\n\n- API key (PAT, format: `pat.\u003Caccount>.\u003Crandom>.\u003Crandom>`)\n- API URL (default: `https:\u002F\u002Fapp.harness.io`)\n- Account ID (can be auto-derived from PAT if empty)\n- Org ID\n- Project ID\n\nThen create `~\u002F.harness\u002Fauth.json`:\n\n```bash\nmkdir -p ~\u002F.harness\ncat > ~\u002F.harness\u002Fauth.json \u003C\u003C 'EOF'\n{\n  \"token\": \"\u003CAPI key>\",\n  \"base_url\": \"\u003CAPI URL>\",\n  \"account_id\": \"\u003CAccount ID>\",\n  \"org_id\": \"\u003COrg ID>\",\n  \"project_id\": \"\u003CProject ID>\"\n}\nEOF\nchmod 600 ~\u002F.harness\u002Fauth.json\n```\n\n### Step 4: Set up Cosign Key and scs.env\n\nAsk the user via `AskUserQuestion`:\n\n```\nCosign signing key:\n  - I already have one         → ask for absolute path\n  - Generate a new one for me  → generate in ~\u002F.harness\u002F\n```\n\n**If generating:**\n\n```bash\nmkdir -p ~\u002F.harness\ncd ~\u002F.harness && COSIGN_PASSWORD=\"\" cosign generate-key-pair\nchmod 600 ~\u002F.harness\u002Fcosign.key\n```\n\nSet `key_path=\"$HOME\u002F.harness\u002Fcosign.key\"`.\n\n**If existing key:** Ask for the absolute path. Validate it's readable.\nWarn if password-protected — they'll need to set `COSIGN_PASSWORD` for unattended runs.\n\nThen write `~\u002F.harness\u002Fscs.env` (do NOT ask where to put it — always this path):\n\n```bash\ncat > ~\u002F.harness\u002Fscs.env \u003C\u003C 'EOF'\nexport HARNESS_SIGNER_KEY_PATH=\"\u003Ckey_path>\"\nexport COSIGN_PASSWORD=\"\"\nEOF\n```\n\n`scs.env` contains ONLY cosign signer variables. Never put Harness identity here.\n\n### Step 5: Generate the Hook Script\n\nWrite to `\u003Cproject>\u002F.claude\u002Fhooks\u002Fagent-pr-attestation.sh`, substituting:\n\n- `{{COMMAND_FILTER}}` ← from Step 2\n- `{{URL_REGEX}}` ← from Step 2\n- `{{KEY_PATH}}` ← from Step 4\n\nThen `chmod +x` the script.\n\n```bash\n#!\u002Fbin\u002Fbash\n# Generated by configure-agent-pr-attestation skill.\n# Captures a signed in-toto attestation when an AI agent creates a PR.\n#\n# To reconfigure: re-run \u002Fconfigure-agent-pr-attestation in your agent.\n\nset -uo pipefail\n\n[ -f ~\u002F.harness\u002Fscs.env ] && source ~\u002F.harness\u002Fscs.env\n\nCOMMAND_FILTER='{{COMMAND_FILTER}}'\nURL_REGEX='{{URL_REGEX}}'\n\nINPUT=$(cat)\nCOMMAND=$(echo \"$INPUT\" | jq -r '.tool_input.command \u002F\u002F empty')\n\nif ! echo \"$COMMAND\" | grep -qE \"$COMMAND_FILTER\"; then\n  exit 0\nfi\n\nTRANSCRIPT_PATH=$(echo \"$INPUT\" | jq -r '.transcript_path')\nTOOL_STDOUT=$(echo \"$INPUT\" | jq -r '.tool_response.stdout \u002F\u002F empty')\nTOOL_STDERR=$(echo \"$INPUT\" | jq -r '.tool_response.stderr \u002F\u002F empty')\nCWD=$(echo \"$INPUT\" | jq -r '.cwd')\n\nPR_URL=$(printf '%s\\n%s\\n' \"$TOOL_STDOUT\" \"$TOOL_STDERR\" | grep -oE \"$URL_REGEX\" | head -1)\nCOMMIT_SHA=$(cd \"$CWD\" && git rev-parse HEAD 2>\u002Fdev\u002Fnull)\n\nif [ -z \"$PR_URL\" ] || [ -z \"$COMMIT_SHA\" ]; then\n  exit 0\nfi\n\nPR_NUMBER=$(echo \"$PR_URL\" | grep -oE '[0-9]+$')\nEXECUTION_ID=\"harness-pr-attestor-${PR_NUMBER:-$(date +%s)}\"\n\nPASSPHRASE_FILE=$(mktemp -t harness-scs-passphrase.XXXXXX)\ntrap 'rm -f \"$PASSPHRASE_FILE\"' EXIT\nchmod 600 \"$PASSPHRASE_FILE\"\nprintf '%s' \"${COSIGN_PASSWORD:-}\" >\"$PASSPHRASE_FILE\"\n\nharness-scs attestation run \\\n  --step \"agent-pull-request\" \\\n  --attestations claudecode \\\n  --attestor-claudecode-session-file \"$TRANSCRIPT_PATH\" \\\n  --attestor-claudecode-include-thinking \\\n  --attestor-claudecode-commit-sha \"$COMMIT_SHA\" \\\n  --attestor-claudecode-pr-url \"$PR_URL\" \\\n  --signer-file-key-path \"${HARNESS_SIGNER_KEY_PATH:-{{KEY_PATH}}}\" \\\n  --signer-file-key-passphrase-path \"$PASSPHRASE_FILE\" \\\n  --enable-attestation-upload \\\n  --execution-id \"$EXECUTION_ID\" \\\n  >\u002Fdev\u002Fnull 2>&1\n\nexit 0\n```\n\n### Step 6: Patch `.claude\u002Fsettings.json`\n\nRegister the hook with Claude Code. Use project-scoped settings by default.\n\nRead existing `.claude\u002Fsettings.json` (create `{}` if absent), then merge in:\n\n```json\n{\n  \"hooks\": {\n    \"PostToolUse\": [\n      {\n        \"matcher\": \"Bash\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"$CLAUDE_PROJECT_DIR\u002F.claude\u002Fhooks\u002Fagent-pr-attestation.sh\"\n          }\n        ]\n      }\n    ]\n  }\n}\n```\n\nMake this idempotent — don't duplicate if already present.\n\nAfter patching, confirm setup is complete and tell the user to verify by creating a test PR in a new session.\n\n## Troubleshooting\n\n| Symptom | Likely cause | Fix |\n| --- | --- | --- |\n| Hook never fires | Matcher not registered, or `settings.json` malformed | `jq . .claude\u002Fsettings.json` to validate; re-run skill |\n| No attestation after PR created | `command_filter` doesn't match the command, OR `url_regex` doesn't match the PR URL | Add `echo \"$COMMAND\" > \u002Ftmp\u002Fdebug-hook.txt` to inspect; run PR command manually and compare URL against regex |\n| `harness-scs: command not found` | Binary not on PATH for non-interactive shells | Install to `\u002Fusr\u002Flocal\u002Fbin\u002F` or hardcode absolute path |\n| `failed to load any signers` | Missing or unreadable cosign key | Check `$HARNESS_SIGNER_KEY_PATH` is set and file is readable |\n| Upload fails with 401\u002F403 | Stale or wrong API key | Check `~\u002F.harness\u002Fauth.json` token and account_id |\n\n## Reconfiguration\n\nIf the user re-runs the skill, detect existing files and offer:\n\n- \"An existing hook was found at `\u003Cpath>`. Replace it?\"\n- \"Existing cosign key at `\u003Cpath>` — keep it or regenerate?\"\n- \"Found `~\u002F.harness\u002Fauth.json` — keep or update?\"\n\nNever silently overwrite.\n\n## Limitations\n\nOnly cosign file keys are supported for signing. If the user asks about keyless signing (Fulcio), KMS signers, or non-Claude-Code agent runtimes, tell them these are not yet available.\n","# Configure Agent PR Attestation\n\nSets up a `PostToolUse` hook that signs and uploads an in-toto attestation\nto the Harness Evidence Vault every time an AI coding agent creates a PR\u002FMR.\n\n## Instructions\n\nFollow these steps in exact order. Do NOT skip steps or reorder them.\n\n### Step 1: Check Prerequisites\n\nRun these checks and report what's missing. Do not proceed until all are installed.\n\n```bash\ncommand -v harness-scs\ncommand -v jq\ncommand -v git\ncommand -v cosign\n```\n\nIf `harness-scs` is missing, tell the user:\n\n```bash\ntask compile-harness-scs && sudo mv harness-scs \u002Fusr\u002Flocal\u002Fbin\u002F\n```\n\n### Step 2: Ask for SCM\n\nAsk the user which tool they use to create PRs\u002FMRs. Use `AskUserQuestion`.\n\nOptions:\n\n| Choice | command_filter | url_pattern |\n| --- | --- | --- |\n| Harness CLI (codepulse pr create) | `codepulse pr create` | `https:\u002F\u002F[^\u002F]*\\.harness\\.io\u002F.*\u002Fpulls\u002F[0-9]+(\u002F.*)?` |\n| GitHub CLI (gh pr create) | `gh pr create` | `https:\u002F\u002Fgithub\\.com\u002F[^ ]+\u002Fpull\u002F[0-9]+` |\n| GitLab CLI (glab mr create) | `glab mr create` | `https:\u002F\u002F[^ ]+\u002F-\u002Fmerge_requests\u002F[0-9]+` |\n| Bitbucket CLI (bb pr create) | `bb pr create` | `https:\u002F\u002F[^ ]+\u002Fpull-requests\u002F[0-9]+` |\n| Azure DevOps CLI (az repos pr create) | `az repos pr create` | `https:\u002F\u002F[^ ]+\u002F_git\u002F[^ ]+\u002Fpullrequest\u002F[0-9]+` |\n| Gitea \u002F Forgejo (tea pr create) | `tea pr create` | `https:\u002F\u002F[^ ]+\u002Fpulls\u002F[0-9]+` |\n\nIf user picks GitLab, Bitbucket, Gitea, or Custom — also ask if self-hosted.\nIf self-hosted, ask for hostname and replace the generic `[^ ]+` host in the\nurl_pattern with their specific escaped hostname.\n\nIf user picks \"Other \u002F custom\":\n1. Ask for the exact command they run.\n2. Ask for an example PR URL their tool prints.\n3. Derive `command_filter` and `url_pattern`, show to user, confirm.\n\n### Step 3: Set up Harness Identity (auth.json)\n\nCheck if `~\u002F.harness\u002Fauth.json` already exists:\n\n```bash\ntest -r ~\u002F.harness\u002Fauth.json && jq -e '.token and .account_id' ~\u002F.harness\u002Fauth.json >\u002Fdev\u002Fnull 2>&1\n```\n\n**If auth.json exists and is valid:** Tell the user \"Found existing ~\u002F.harness\u002Fauth.json\" and move to Step 4.\n\n**If auth.json does NOT exist:** Ask the user for these values:\n\n- API key (PAT, format: `pat.\u003Caccount>.\u003Crandom>.\u003Crandom>`)\n- API URL (default: `https:\u002F\u002Fapp.harness.io`)\n- Account ID (can be auto-derived from PAT if empty)\n- Org ID\n- Project ID\n\nThen create `~\u002F.harness\u002Fauth.json`:\n\n```bash\nmkdir -p ~\u002F.harness\ncat > ~\u002F.harness\u002Fauth.json \u003C\u003C 'EOF'\n{\n  \"token\": \"\u003CAPI key>\",\n  \"base_url\": \"\u003CAPI URL>\",\n  \"account_id\": \"\u003CAccount ID>\",\n  \"org_id\": \"\u003COrg ID>\",\n  \"project_id\": \"\u003CProject ID>\"\n}\nEOF\nchmod 600 ~\u002F.harness\u002Fauth.json\n```\n\n### Step 4: Set up Cosign Key and scs.env\n\nAsk the user via `AskUserQuestion`:\n\n```\nCosign signing key:\n  - I already have one         → ask for absolute path\n  - Generate a new one for me  → generate in ~\u002F.harness\u002F\n```\n\n**If generating:**\n\n```bash\nmkdir -p ~\u002F.harness\ncd ~\u002F.harness && COSIGN_PASSWORD=\"\" cosign generate-key-pair\nchmod 600 ~\u002F.harness\u002Fcosign.key\n```\n\nSet `key_path=\"$HOME\u002F.harness\u002Fcosign.key\"`.\n\n**If existing key:** Ask for the absolute path. Validate it's readable.\nWarn if password-protected — they'll need to set `COSIGN_PASSWORD` for unattended runs.\n\nThen write `~\u002F.harness\u002Fscs.env` (do NOT ask where to put it — always this path):\n\n```bash\ncat > ~\u002F.harness\u002Fscs.env \u003C\u003C 'EOF'\nexport HARNESS_SIGNER_KEY_PATH=\"\u003Ckey_path>\"\nexport COSIGN_PASSWORD=\"\"\nEOF\n```\n\n`scs.env` contains ONLY cosign signer variables. Never put Harness identity here.\n\n### Step 5: Generate the Hook Script\n\nWrite to `\u003Cproject>\u002F.claude\u002Fhooks\u002Fagent-pr-attestation.sh`, substituting:\n\n- `{{COMMAND_FILTER}}` ← from Step 2\n- `{{URL_REGEX}}` ← from Step 2\n- `{{KEY_PATH}}` ← from Step 4\n\nThen `chmod +x` the script.\n\n```bash\n#!\u002Fbin\u002Fbash\n# Generated by configure-agent-pr-attestation skill.\n# Captures a signed in-toto attestation when an AI agent creates a PR.\n#\n# To reconfigure: re-run \u002Fconfigure-agent-pr-attestation in your agent.\n\nset -uo pipefail\n\n[ -f ~\u002F.harness\u002Fscs.env ] && source ~\u002F.harness\u002Fscs.env\n\nCOMMAND_FILTER='{{COMMAND_FILTER}}'\nURL_REGEX='{{URL_REGEX}}'\n\nINPUT=$(cat)\nCOMMAND=$(echo \"$INPUT\" | jq -r '.tool_input.command \u002F\u002F empty')\n\nif ! echo \"$COMMAND\" | grep -qE \"$COMMAND_FILTER\"; then\n  exit 0\nfi\n\nTRANSCRIPT_PATH=$(echo \"$INPUT\" | jq -r '.transcript_path')\nTOOL_STDOUT=$(echo \"$INPUT\" | jq -r '.tool_response.stdout \u002F\u002F empty')\nTOOL_STDERR=$(echo \"$INPUT\" | jq -r '.tool_response.stderr \u002F\u002F empty')\nCWD=$(echo \"$INPUT\" | jq -r '.cwd')\n\nPR_URL=$(printf '%s\\n%s\\n' \"$TOOL_STDOUT\" \"$TOOL_STDERR\" | grep -oE \"$URL_REGEX\" | head -1)\nCOMMIT_SHA=$(cd \"$CWD\" && git rev-parse HEAD 2>\u002Fdev\u002Fnull)\n\nif [ -z \"$PR_URL\" ] || [ -z \"$COMMIT_SHA\" ]; then\n  exit 0\nfi\n\nPR_NUMBER=$(echo \"$PR_URL\" | grep -oE '[0-9]+$')\nEXECUTION_ID=\"harness-pr-attestor-${PR_NUMBER:-$(date +%s)}\"\n\nPASSPHRASE_FILE=$(mktemp -t harness-scs-passphrase.XXXXXX)\ntrap 'rm -f \"$PASSPHRASE_FILE\"' EXIT\nchmod 600 \"$PASSPHRASE_FILE\"\nprintf '%s' \"${COSIGN_PASSWORD:-}\" >\"$PASSPHRASE_FILE\"\n\nharness-scs attestation run \\\n  --step \"agent-pull-request\" \\\n  --attestations claudecode \\\n  --attestor-claudecode-session-file \"$TRANSCRIPT_PATH\" \\\n  --attestor-claudecode-include-thinking \\\n  --attestor-claudecode-commit-sha \"$COMMIT_SHA\" \\\n  --attestor-claudecode-pr-url \"$PR_URL\" \\\n  --signer-file-key-path \"${HARNESS_SIGNER_KEY_PATH:-{{KEY_PATH}}}\" \\\n  --signer-file-key-passphrase-path \"$PASSPHRASE_FILE\" \\\n  --enable-attestation-upload \\\n  --execution-id \"$EXECUTION_ID\" \\\n  >\u002Fdev\u002Fnull 2>&1\n\nexit 0\n```\n\n### Step 6: Patch `.claude\u002Fsettings.json`\n\nRegister the hook with Claude Code. Use project-scoped settings by default.\n\nRead existing `.claude\u002Fsettings.json` (create `{}` if absent), then merge in:\n\n```json\n{\n  \"hooks\": {\n    \"PostToolUse\": [\n      {\n        \"matcher\": \"Bash\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"$CLAUDE_PROJECT_DIR\u002F.claude\u002Fhooks\u002Fagent-pr-attestation.sh\"\n          }\n        ]\n      }\n    ]\n  }\n}\n```\n\nMake this idempotent — don't duplicate if already present.\n\nAfter patching, confirm setup is complete and tell the user to verify by creating a test PR in a new session.\n\n## Troubleshooting\n\n| Symptom | Likely cause | Fix |\n| --- | --- | --- |\n| Hook never fires | Matcher not registered, or `settings.json` malformed | `jq . .claude\u002Fsettings.json` to validate; re-run skill |\n| No attestation after PR created | `command_filter` doesn't match the command, OR `url_regex` doesn't match the PR URL | Add `echo \"$COMMAND\" > \u002Ftmp\u002Fdebug-hook.txt` to inspect; run PR command manually and compare URL against regex |\n| `harness-scs: command not found` | Binary not on PATH for non-interactive shells | Install to `\u002Fusr\u002Flocal\u002Fbin\u002F` or hardcode absolute path |\n| `failed to load any signers` | Missing or unreadable cosign key | Check `$HARNESS_SIGNER_KEY_PATH` is set and file is readable |\n| Upload fails with 401\u002F403 | Stale or wrong API key | Check `~\u002F.harness\u002Fauth.json` token and account_id |\n\n## Reconfiguration\n\nIf the user re-runs the skill, detect existing files and offer:\n\n- \"An existing hook was found at `\u003Cpath>`. Replace it?\"\n- \"Existing cosign key at `\u003Cpath>` — keep it or regenerate?\"\n- \"Found `~\u002F.harness\u002Fauth.json` — keep or update?\"\n\nNever silently overwrite.\n\n## Limitations\n\nOnly cosign file keys are supported for signing. If the user asks about keyless signing (Fulcio), KMS signers, or non-Claude-Code agent runtimes, tell them these are not yet available.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"author":24,"version":25,"mcp-server":26},"Harness","1.0.0","harness-mcp-v2","Requires harness-scs CLI binary and cosign for signing. Currently supports Claude Code as the agent runtime.","main","f3af6b6781621109871cca9e2989364afc509f3d","harnesses\u002Fharness-skills\u002Fskills\u002Fconfigure-agent-pr-attestation","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository","https:\u002F\u002Fgithub.com\u002FAdmiralGallade","Eager to learn!\r\nI'll do anything for more knowledge anywhere.","2026-06-06 07:34:31",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add AdmiralGallade\u002Fharness-repository --skill configure-agent-pr-attestation",{"tool":41,"command":42},"bunx","bunx skills add AdmiralGallade\u002Fharness-repository --skill configure-agent-pr-attestation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add AdmiralGallade\u002Fharness-repository --skill configure-agent-pr-attestation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fconfigure-agent-pr-attestation\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M75JSM6WGJ71BTHM6VC8CJ1X","verify-sign","Add an Artifact Verification (SscaArtifactVerification) step to an existing Harness pipeline to verify Cosign signatures on container or local-stage artifacts. Supports CI, Security, and CD Deploy (containerized step group). Supports Third-Party registries (Docker, ECR, GCR, GAR, ACR), Harness Artifact Registry (HAR), and Harness Local Stage artifacts. Only works with existing pipelines. Use when asked to verify signed artifacts, verify artifact signature, verify-sign, validate Cosign signature, or configure SscaArtifactVerification. Trigger phrases: verify sign, verify artifact, artifact verification, verify signature, verify-sign, SscaArtifactVerification, verify signed image, verify Cosign, HAR verification.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fverify-sign\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M75JSDSTP77TFM3JFGBB8QKP","template-usage","Track Harness template dependencies, usage, and adoption via MCP v2 tools. Find which pipelines or other templates reference a given template, analyze update impact, identify unused templates, and compare version adoption. Use when asked about template usage, template references, template dependencies, impact analysis before updating a template, finding unused templates, or tracking template adoption across projects. Trigger phrases: template usage, who uses template, template references, template dependencies, template impact, unused templates, template adoption. Do NOT use for creating or updating templates (use create-template instead).","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Ftemplate-usage\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75JS76Q2KC8PD598H2DZZRA","sign-artifact","Add an Artifact Signing (SscaArtifactSigning) step to an existing Harness pipeline to Cosign-sign container or local-stage artifacts with keyless, key-based, or Vault signing. Supports Third-Party registries (Docker, ECR, GCR, GAR, ACR), Harness Artifact Registry (HAR), and Harness Local Stage artifacts. Place after image build\u002Fpush; optionally upload .sig to the registry. Only works with existing pipelines. Use when asked to sign artifacts, add artifact signing, Cosign sign image, attach signature to registry, or configure SscaArtifactSigning. Trigger phrases: sign artifact, artifact signing, sign image, Cosign sign, add signing step, SscaArtifactSigning, attach signature, sign container image, HAR signing.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fsign-artifact\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75JS16EEFFHA44EBNE8KWNT","sei-analytics","Advanced engineering analytics via Harness Software Engineering Insights (SEI) MCP. Configure sprint velocity and estimation accuracy tracking, engineering investment allocation breakdowns, sprint planning with capacity forecasts, and release readiness assessments. Use when asked about sprint analytics, investment allocation, sprint planning, capacity forecasting, or release readiness. Do NOT use for DORA metrics (use dora-metrics instead). Trigger phrases: sprint velocity, sprint analytics, investment allocation, capacity planning, sprint forecast, release readiness, engineering productivity, estimation accuracy, sprint planning, scope creep, code quality trends.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fsei-analytics\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75JRWE3X3E7V9JFQ4ENZYZM","security-report","Generate security compliance reports using Harness SCS and STO via MCP. Analyze vulnerabilities, SBOMs, and manage exemptions. Use when user says \"security report\", \"vulnerabilities\", \"SBOM\", \"security scan\", \"compliance check\", or asks about application security.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fsecurity-report\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75JRSFJSNZFZRFKX8MSPCS2","scorecard-review","Review service maturity scorecards and compliance using Harness IDP via MCP. Check production readiness, security, and documentation scores. Use when user says \"scorecard\", \"service maturity\", \"production readiness\", \"compliance score\", or asks about service health scores.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fscorecard-review\u002FSKILL.md",[],[]]