coreyhaines31/makerskills / skills/paste
paste
VerifiedWhen you want to clean and reformat content (usually from your terminal) for pasting into Slack, Notion, Twitter/X, LinkedIn, email, GitHub, or plain text. Strips ANSI codes, box-drawing chars, terminal prompt artifacts, and applies destination-specific formatting. Default input is the system clipboard; default output is both the clipboard and a chat preview. Triggers on "/paste", "/paste [destination]", "clean this for X," "format for slack/notion/twitter/linkedin/email/github," "render as markdown," "paste-ready," "strip formatting," "make this copy-pastable." Default destination is plain. Also scans for secrets (API keys, tokens, .env values) and warns before copying anything sensitive.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.0 KB |
| references/destinations.md | markdown | 4.9 KB |
| references/secret-patterns.md | markdown | 3.0 KB |
references/secret-patterns.md
View on GitHub# Secret detection patterns
Scan the input against these before any copy or paste. If any match, **stop** and ask the user before proceeding.
When reporting a hit, **mask the value** — show only the first 4 and last 4 characters:
> *"Spotted what looks like an OpenAI API key: `sk-12...wxyz`. Continue, redact (replace with `[REDACTED]`), or abort?"*
## High-confidence patterns (always treat as secret)
| Name | Regex / Pattern | Notes |
|---|---|---|
| AWS access key | `AKIA[0-9A-Z]{16}` | |
| AWS secret access key | 40-char base64-ish string within ~3 lines of "aws" / "secret" / `AWS_SECRET_ACCESS_KEY` | High entropy + context |
| GitHub personal token | `gh[ps]_[A-Za-z0-9]{36,}` | `ghp_` (classic), `ghs_` (server) |
| GitHub fine-grained PAT | `github_pat_[A-Za-z0-9_]{82,}` | |
| OpenAI API key | `sk-[A-Za-z0-9]{20,}` (but NOT `sk-ant-`) | |
| Anthropic API key | `sk-ant-[A-Za-z0-9_-]{20,}` | |
| Stripe key | `(sk\|pk\|rk)_(live\|test)_[A-Za-z0-9]{24,}` | Live keys especially |
| Slack token | `xox[baprs]-[A-Za-z0-9-]+` | Bot, user, app, refresh tokens |
| Slack webhook | `https://hooks.slack.com/services/[A-Z0-9/]+` | |
| Discord bot token | `[MN][A-Za-z0-9]{23}\.[\w-]{6}\.[\w-]{27,}` | |
| Bearer token (in header) | `Bearer [A-Za-z0-9_.-]{20,}` | |
| JWT | `eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+` | Three base64-ish parts |
| Private key block | `-----BEGIN ([A-Z ]+ )?PRIVATE KEY-----` | RSA, EC, OpenSSH, etc. |
| Database connection URL | `(postgres\|postgresql\|mysql\|mongodb)://[^\s]+:[^\s]+@[^\s]+` | Contains credentials |
| Notion API key | `secret_[A-Za-z0-9]{43}` | |
| Linear API key | `lin_api_[A-Za-z0-9]{40,}` | |
| Vercel token | `vrcl_[A-Za-z0-9_-]{20,}` or 24-char hex near "vercel" | |
## Medium-confidence patterns (flag and ask)
| Name | Pattern | Notes |
|---|---|---|
| `.env`-style line | `^[A-Z_][A-Z0-9_]*=.+$` with high-entropy value | e.g. `API_KEY=abcdef123...` |
| Generic key/token | Long random string (≥20 chars, mixed case + digits) near words: `key`, `token`, `secret`, `password`, `api`, `auth` | Context-aware |
## Low-confidence (only flag if combined with context)
| Name | Pattern | Notes |
|---|---|---|
| UUIDs | Standard UUID format | Usually safe but ask if labeled "secret" |
| Hex strings | 32+ char hex | Could be a hash (safe) or a token (sensitive) — check surrounding text |
## False-positive guards
Don't flag:
- Public Stripe keys clearly labeled as test: `pk_test_...` (but still flag `sk_test_...`)
- Git commit SHAs (they're hex but short and labeled "commit" / "sha")
- npm package hashes / lockfile integrity values
- Public certificate fingerprints in plain context
## Action on match
1. **Stop processing immediately** — don't copy to clipboard
2. **Mask** the matched value (first 4 + last 4 chars)
3. **Ask** the user: continue / redact / abort
4. If **redact**: replace the matched value with `[REDACTED]` in the output
5. If **abort** (or no answer in reasonable time): bail without copying anything
Always err on the side of asking. A false positive is annoying; a leaked key is worse.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |