CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

secrets-scanner

The guide provides Gitleaks patterns, pre-commit and CI configurations, and TypeScript examples for scanning files, validating environment variables, and monitoring secret usage. It also covers responding to leaked credentials, enabling GitHub secret scanning, and reducing future risk through secret-management practices.

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/secrets-scanner/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

57%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.

Highly actionable content with concrete, mostly copy-paste-ready configuration and code, undermined by monolithic structure, duplicated detection patterns, and missing validation before the destructive force-push step. Splitting the scanner, remediation playbook, and monitoring code into reference files would address the biggest weaknesses.

Suggestions

Move the custom TypeScript scanner, remediation checklist, and monitoring code into separate reference files (e.g. references/scanner.md, references/remediation.md) linked from SKILL.md to fix the monolithic structure.

Add a verification step before 'git push --force --all' (e.g. re-run gitleaks on the rewritten history to confirm the secret is gone) to satisfy the destructive-operation validation requirement.

Remove the duplicated regex set by having the custom scanner reference the single gitleaks rule source, and complete or drop the monitoring section that ends at a TODO-style comment.

DimensionReasoningScore

Conciseness

The body is almost entirely code/config with no filler prose, but the gitleaks regexes are duplicated verbatim in the custom TypeScript scanner, the 'Best Practices' list repeats earlier sections, and ~460 lines could be tightened. This sits at 'mostly efficient but could be tightened'.

3 / 5

Actionability

Mostly executable, copy-paste-ready guidance (complete .gitleaks.toml, pre-commit config, CI workflow, working TypeScript scanner), but the monitoring section ends at a stub comment and the .github/secret_scanning.yml custom-patterns file is not a real GitHub configuration mechanism. Minor gaps keep it below fully executable.

4 / 5

Workflow Clarity

The remediation playbook is well sequenced with time-boxed phases and checkboxes, but the git-history rewrite (bfg + 'git push --force --all') is a destructive batch operation with no verification step before force-pushing, which caps workflow clarity at 3 per the rubric guidelines.

3 / 5

Progressive Disclosure

Section headers provide some structure, but there are zero external references: the ~100-line custom scanner, remediation playbook, and monitoring code are all inlined in a ~460-line monolithic file where they clearly belong in separate bundle files. The under-50-lines exception does not apply.

3 / 5

Total

13

/

20

Passed

Description

88%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.

A strong description that clearly states concrete capabilities and explicit usage triggers in third person. Its only weaknesses are a slightly overlapping trigger ('secret management') and a few missing natural synonyms.

Suggestions

Replace or narrow the 'secret management' trigger to something like 'leaked secrets' to avoid overlap with a dedicated secrets-management/vault skill.

Add common user phrasings such as 'exposed credentials', 'leaked tokens', or '.env files committed' to broaden natural trigger coverage.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Detects leaked API keys, tokens, passwords, and credentials' plus 'pre-commit hooks, CI checks, scanning rules, and remediation procedures' — with comprehensive coverage and third-person voice, matching the anchor-5 example structure.

5 / 5

Completeness

Explicitly answers both 'what' (detection with hooks, CI checks, scanning rules, remediation) and 'when' via a concrete 'Use for ...' clause with trigger phrases, mirroring the rubric's good example.

5 / 5

Trigger Term Quality

Includes natural phrases users would say ('secret scanning', 'credential detection', 'API key leaks'), but misses common variations such as 'leaked secrets', 'exposed credentials', or '.env files', so it falls just below the comprehensive anchor.

4 / 5

Distinctiveness Conflict Risk

Clear niche in leaked-credential detection, but the trigger 'secret management' is broad enough to overlap with a dedicated secrets-management/vault skill, giving minor conflict risk rather than minimal.

4 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 possibly missing (scripts/scan-secrets.ts)

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/secrets-scanner/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.