enrich-message — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited enrich-message (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Enrich a draft message with code references, ticket links, and factual data. Outputs copy-pasteable markdown.
Before starting, use the Read tool to read ~/.claude/skills/enrich-message/preferences.md. If the file does not exist, treat as "no preferences set" and use defaults.
_On startup, use Bash to detect: current git branch, remotes, repo root, and recent commits (last 5). Skip any that fail._
Check $ARGUMENTS:
Enrich Message — Enriches draft messages with code references, tickets, and facts
Usage:
/enrich-message Enrich draft from conversation context
/enrich-message <url> Enrich with a specific thread URL pre-loaded
/enrich-message --brief Keep enrichment concise
/enrich-message --no-linear Skip Linear ticket search
/enrich-message config Set preferences
/enrich-message reset Clear preferences
/enrich-message help This help
Examples:
/enrich-message Paste your draft + context in chat, then run
/enrich-message https://github.com/org/repo/pull/123#discussion_r456
Pre-fetch this PR discussion thread
Current preferences:
(from preferences.md or defaults)Use AskUserQuestion to collect:
A-Teams-Network (used to resolve short PR refs)Save to ~/.claude/skills/enrich-message/preferences.md.
Delete ~/.claude/skills/enrich-message/preferences.md and confirm: "Preferences cleared. Using defaults."
If no preferences file exists, show:
First time using /enrich-message? Run /enrich-message config to set defaults, or just continue with sensible defaults.Then proceed normally.
Scan the current conversation for:
If $ARGUMENTS contains a URL, treat it as the primary context URL.
If inputs are ambiguous, ask:
I see your draft. What's the context? (paste a URL or describe the thread)
Based on the context URL type:
GitHub PR comment (github.com/.../pull/N#discussion_rNNN):
gh api repos/{owner}/{repo}/pulls/{pr}/comments to get the full comment threadgh pr view {pr} --repo {owner}/{repo} --json title,body,files,headRefName for PR contextGitHub PR review (github.com/.../pull/N#pullrequestreview-NNN):
gh api repos/{owner}/{repo}/pulls/{pr}/reviews/{review_id}/comments for review commentsgh pr view for PR contextGitHub issue (github.com/.../issues/N):
gh issue view {n} --repo {owner}/{repo} --json title,body,commentsSlack thread (if URL provided):
No URL / screenshot only:
From the draft and context, identify:
For each search seed identified:
Grep to find relevant code across the repo (function definitions, variable names, patterns)Read to examine matched files for surrounding contextBuild code references as GitHub permalink URLs:
https://github.com/{owner}/{repo}/blob/{branch}/{path}#L{line}main as appropriateSearch Linear for tickets related to the discussion topic:
mcp__claude_ai_Linear__list_issues with keywords from the topicmcp__claude_ai_Linear__get_issueLook for additional context:
gh pr list --repo {owner}/{repo} --search "{keywords}" --state all --limit 5 — find related PRsgh search commits "{keywords}" --repo {owner}/{repo} --limit 5 — find related commitsRewrite the draft with enrichments:
[filename.ts#L42](permalink)[AIS-123](url) where relevant[PR #123](url) or commits<details> blocks for long code snippetsWriting style rules:
--brief means links only, no extra explanationmeetings-tab.tsx") with the link on the filenameAlways copy to clipboard — write the enriched message to /tmp/enriched-message.md using the Write tool, then run pbcopy < /tmp/enriched-message.md via Bash. This ensures the user can directly Cmd+V without losing markdown formatting.
After copying, confirm briefly:
Copied to clipboard. {N} code references, {N} Linear tickets, {N} PR links.
>
Sources: {list of repos/branches checked}
If any references couldn't be found, mention:
Could not find code references for: {list}
[text](url) must point to a real, accessible URL. Use GitHub permalinks with actual commit SHAs or branch names.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.