share-scan

Scans git history or codebase paths to find shareable code and drafts social media digest entries.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/shawn-sandy/agentics-kit --skill share-scan-shawn-sandy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: share-scan
Source: https://github.com/shawn-sandy/agentics-kit/tree/main/kit/plugins/social-media-tools/skills/share-scan
Command: npx skills add https://github.com/shawn-sandy/agentics-kit --skill share-scan-shawn-sandy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Finding commits or code worth sharing on social media requires manually reviewing git history, checking for leaked secrets, and drafting post prompts. This Skill automates that discovery pipeline and produces a reviewed digest file. ## Core Features & Use Cases - Dual scan modes: Scan recent git history by time window or branch delta, or scan a codebase path directly for shareable files and functions. - Scoring and filtering: Ranks candidates by teaching value using a tunable scoring table, with project-level focus and avoid patterns loaded from a SOCIAL.md config. - Mandatory security scrub: Every candidate passes through a security-scrub check so secrets or sensitive content are blocked before anything is drafted. - Use Case: After a week of feature work, run the scan to get a dated digest in .claude/digests containing scored, secret-checked entries with ready-to-paste share-code prompts for LinkedIn, Twitter/X, or Bluesky. ## Quick Start Ask the assistant to scan the last 7 days of git history for shareable commits and write a digest for review.

Frequently Asked Questions about share-scan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find commits worth sharing on social media?▼

Run the scan in history mode to collect recent commits by time window or branch delta, score them by teaching value, and review the top candidates. The output is a digest file with ready-to-paste share-code prompts for each selected entry.

How to scan a codebase for shareable code snippets?▼

Use the --codebase flag with a path to switch from git history mode to codebase mode. The scan globs source files excluding node_modules, build output, and lock files, then scores files by patterns like documented exports, algorithms, and custom hooks.

Does the scan check for secrets before sharing code?▼

Yes, every candidate passes through a mandatory security-scrub step that cannot be skipped. Candidates with a BLOCKED verdict are excluded entirely, while WARN candidates appear in the digest with a warning label.

Can I customize which commits get filtered or prioritized?▼

Yes, add a SOCIAL.md file at the project root with a Focus section to boost matching candidate scores and an Avoid section to filter out unwanted patterns. The scoring weights themselves live in references/interesting-patterns.md and can be tuned without editing the skill.

What happens if the directory is not a git repository?▼

History mode stops with a message telling you to run from a git repo root or use --codebase with a path instead. Codebase mode works without git since it reads files directly from the given path.