safety/secret-detector
Skill10 starsChanged 2 months agoMITView on GitHub
Scan any export, file, or vault batch for credentials, API keys, tokens, and sensitive data before they leave the local machine. Fires automatically on all Claw export operations. Default skill for Starlight Sentinel and Attestation Claw.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Arcanea-Labs/Starlight-Intelligence-Systemword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Arcanea-Labs/Starlight-Intelligence-System★ 10100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- .claude/hooks/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- site/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/editorial.mdcCursor rule
- .cursor/rules/starlight-agents.mdcCursor rule
- .cursor/rules/starlight-core.mdcCursor rule
- .cursor/rules/starlight-memory.mdcCursor rule
- .cursor/rules/starlight-voice.mdcCursor rule
- frank-brand-editorSkill
- agent-hygieneSkill
- estate-guardSkill
- SKILL.mdSkill
- crypto-intelligenceSkill
- agent-forgeSkill
- skill-forgeSkill
- system-forgeSkill
- taste-engineSkill
- integration/ecosystem-syncSkill
- integration/repo-bridgeSkill
- integration/transmission-protocolSkill
- integration/universal-adapterSkill
- intelligence/decision-frameworkSkill
- intelligence/hermes-searchSkill
- intelligence/pattern-recognitionSkill
- intelligence/strategic-reasoningSkill
- intelligence/systems-thinkingSkill
- heartSkill
- storageSkill
- memory/capture-disciplineSkill
- memory/context-preservationSkill
- memory/insight-distillationSkill
- memory/knowledge-synthesisSkill
- memory/memory-consolidationSkill
- sis-memory-orchestratorSkill
- memory/vault-managementSkill
- agent-creatorSkill
- orchestration/context-engineeringSkill
- orchestration/gencreator-stackSkill
- orchestration/hermes-swarmSkill
- orchestration/multi-agent-coordinationSkill
- orchestration/parallel-executionSkill
- orchestration/workflow-designSkill
- workflow-skill-creatorSkill
- safety/mutation-approvalSkill
- safety/permission-gateSkill
- safety/private-public-splitSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Default for: Starlight Sentinel
- Distinctive: line 28
Run pattern detection against the full content:
- Very specific: line 40
If BLOCK patterns found: halt export, generate SECRET_SCAN_REPORT.md, present to user
- Distinctive: line 41
If WARN patterns found: present to user with option to proceed or redact
- Distinctive: line 42
If clean: return APPROVED for export
- Distinctive: line 55
Add to local allowlist for this session (not persisted globally)
- Distinctive: line 60
Vaults: No vault access needed — operates purely on content in transit
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Secret Detector
Nothing sensitive exits the local machine without explicit human awareness.
When This Skill Activates
- Any content is about to be written outside
~/.starlight/to an external destination - Any vault export is generated for a platform adapter
- Any content is passed to an external MCP server
- Keywords: "export", "publish", "send", "upload", "share", "transmit"
- Default for: Starlight Sentinel
What This Skill Does
Scans content for credential patterns, personal identifiers, and sensitive data before it leaves the local machine. Blocks export if secrets are found. Never auto-redacts — always surfaces findings to the user for an explicit decision.
Procedures
Procedure 1: Pre-Export Scan
- Receive content blob pending export
Run pattern detection against the full content:
Pattern Example Action on match API keys sk-...,pk_...,ghp_...,xoxb-...BLOCK + report Private keys -----BEGIN PRIVATE KEY-----BLOCK + report Passwords in config password=,passwd=,secret=BLOCK + report Email addresses user@domain.comin unexpected contextWARN + report Phone numbers +1-555-..., formatted phone patternsWARN + report Credit card patterns 16-digit sequences with separators BLOCK + report Government IDs SSN patterns, national ID formats BLOCK + report - If BLOCK patterns found: halt export, generate SECRET_SCAN_REPORT.md, present to user
- If WARN patterns found: present to user with option to proceed or redact
- If clean: return APPROVED for export
Procedure 2: Scan Report Generation
- Create
/security/SECRET_SCAN_REPORT.md - Include: content source, patterns detected, line references (not the secrets themselves)
- Present options: [redact and retry] / [cancel export] / [I confirm this is safe, proceed]
- Log the decision with user action
Procedure 3: False Positive Handling
- User declares a detected pattern is not sensitive
- Record the declaration with timestamp + user confirmation
- Add to local allowlist for this session (not persisted globally)
- Proceed with export
Integration Points
- Vaults: No vault access needed — operates purely on content in transit
- Agents: Starlight Sentinel
- Skills: Composes with
private-public-splitfor structural classification;permission-gatefor the approval flow - Claws: Called by every Claw that generates exports (Memory, Creator, Attestation, Reclamation)
Quality Criteria
- Zero false negatives on common credential patterns
- False positives surface clearly as warnings, not blocks (where safe)
- User is always in control — no silent redaction or silent pass
- Scan report is human-readable, not a raw regex dump
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

