CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

configure-secret-scan

Add secret detection scanning steps to existing Harness pipelines using STO security scanners. Detects exposed credentials, API keys, tokens, and sensitive data in code repositories. Supports Harness Code (default, native, unified SAST/SCA/secret detection), Gitleaks (standalone secret scanner, open-source), Semgrep, Snyk, SonarQube, Checkmarx, Fossa, Aqua Trivy, and Wiz. Only works with existing pipelines that have a codebase connector configured. Use when asked to add secret scanning, detect exposed secrets, find leaked API keys, configure secret detection, or scan code for credentials. Trigger phrases: add secret scan, detect secrets, find leaked credentials, configure secret detection, scan for exposed API keys, add Gitleaks, secret scanning pipeline.

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

71%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-sequenced operational skill: concrete MCP calls, complete YAML templates, per-scanner auth details, and solid troubleshooting. Its weaknesses are systematic repetition across the Instructions, Performance Notes, and Troubleshooting sections, and a monolithic structure where scanner-specific detail and troubleshooting could live in referenced files.

Suggestions

Deduplicate the repeated rules: state 'existing pipelines only', 'cloneCodebase: true required', and 'early placement before build steps' once (e.g., in the Step 6 key rules) and cut the redundant restatements in Performance Notes and Troubleshooting.

Move per-scanner YAML templates and the scanner auth table into a references/ file (e.g., scanners.md), keeping SKILL.md as a lean overview with one-level-deep links.

Add an explicit post-update validation checkpoint in Step 7 — e.g., re-fetch the pipeline with harness_get and confirm the inserted step is present before presenting the summary.

DimensionReasoningScore

Conciseness

The body is mostly efficient (tool calls, YAML, tables, no concept explanations Claude already knows), but key rules are repeated three or more times: 'existing pipelines only' (Steps 1, Performance Notes, Troubleshooting), 'cloneCodebase: true' (Step 6, Performance Notes, Troubleshooting), '/create-secret' prompting (Steps 4, Performance Notes, Troubleshooting), and 'before build steps' (Steps 3, 6, Performance Notes). The Performance Notes section largely restates rules already stated in the step instructions. Not a 2 because nothing is padded filler or background explanation; not a 4+ because the redundancy pattern is systematic rather than minor.

3 / 5

Actionability

Fully executable, copy-paste-ready guidance: exact MCP calls with parameter blocks (harness_get/harness_update), complete YAML step configs for each scanner category, a precise table of per-scanner auth field names, the exact secret reference format ('<+secrets.getValue("project.<secret_identifier>")>'), and a concrete output summary template. This matches the score-5 anchor covering the common cases.

5 / 5

Workflow Clarity

The 8-step sequence is clearly ordered with several checkpoints (verify pipeline exists, stop if no codebase connector, ask user for insertion point, confirm secrets exist before generating YAML) plus a Troubleshooting section for error recovery and 'Run the pipeline to verify' in next steps. Not a 5 because there is no explicit post-update validation (e.g., re-fetch the pipeline to confirm the YAML was applied correctly) — a minor validation gap matching anchor 4; anchor 3 would require checkpoints to be missing or only implicit, which they are not.

4 / 5

Progressive Disclosure

The ~275-line body is a single monolithic file with no bundle files or references; content that naturally belongs in separate files — the per-scanner YAML templates, the scanner auth table, and the Troubleshooting section — is fully inlined in SKILL.md. Sections are well-labeled and navigation within the file is fine, but the structure matches 'content that should be separate is inline' (anchor 3) rather than anchor 4's 'most content is appropriately placed' with clearly signaled external references.

3 / 5

Total

15

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An excellent description: concrete third-person capabilities, an explicit 'Use when' clause with natural trigger phrases, and a clear scope constraint. The only weakness is that listing many general-purpose scanners alongside SAST/SCA framing slightly blurs the boundary with adjacent Harness security-scan skills.

DimensionReasoningScore

Specificity

Multiple concrete actions are stated ('Add secret detection scanning steps to existing Harness pipelines', 'Detects exposed credentials, API keys, tokens, and sensitive data') with comprehensive coverage including the full scanner list and an explicit scope constraint ('Only works with existing pipelines that have a codebase connector configured'). Third person voice is maintained throughout. Not below 5 because no capability area is left vague.

5 / 5

Completeness

Explicitly answers both 'what' (adds secret detection scanning steps to Harness pipelines using STO, detecting credentials/API keys/tokens) and 'when' ('Use when asked to add secret scanning, detect exposed secrets, find leaked API keys...') with concrete trigger phrases. This matches the score-5 anchor exactly; score 4 would require the 'when' clause to be less explicit.

5 / 5

Trigger Term Quality

Natural user phrasings are comprehensively covered with synonyms: 'add secret scanning, detect exposed secrets, find leaked API keys, configure secret detection, or scan code for credentials' plus an explicit trigger-phrase list ('add secret scan, find leaked credentials, add Gitleaks, secret scanning pipeline'). Falls short of neither anchor 4 (only 'a few natural terms missing' — none are missing here) nor below.

5 / 5

Distinctiveness Conflict Risk

The secret-scanning niche is clear, but the broad scanner roster ('Semgrep, Snyk, SonarQube, Checkmarx, Fossa, Aqua Trivy, and Wiz') and mentions of 'unified SAST/SCA/secret detection' create overlap risk with sibling Harness security-scan skills (e.g., a user asking to 'add Semgrep scanning' for SAST could trigger this). This is 'mostly distinct; minor overlap risk with closely related skills' rather than the minimal-conflict anchor 5.

4 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

harness/harness-ai

Path

plugins/claude/skills/configure-secret-scan/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.