agentic-readiness
Audit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode. Use when…
Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".
$ npx -y skills add CodeAlive-AI/ai-driven-development --skill clipboard --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/clipboardContext preview
The summary Claude sees to decide when to auto-load this skill.
Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".
name: clipboard description: Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".
Copy the most recent relevant text block from the conversation to the macOS system clipboard.
Use a heredoc to safely handle special characters (quotes, apostrophes, backticks, dollar signs):
cat <<'CLIPBOARD' | pbcopy <text to copy> CLIPBOARD
Use when the user wants formatting preserved for pasting into Slack, Word, Google Docs, Notion, etc. Sets both HTML and plain text on the clipboard via Swift, so the receiving app picks the richest format it supports.
**Step 1:** Write the HTML content to a temp file:
cat <<'CLIPBOARD_HTML' > /tmp/_clipboard_rich.html <html><body> <h2>Title</h2> <p>Paragraph with <b>bold</b> and <i>italic</i>.</p> <ul><li>Item one</li><li>Item two</li></ul> </body></html> CLIPBOARD_HTML
**Step 2:** Write the plain text fallback to a temp file:
cat <<'CLIPBOARD_TEXT' > /tmp/_clipboard_rich.txt Title Paragraph with bold and italic. - Item one - Item two CLIPBOARD_TEXT
**Step 3:** Set clipboard with both HTML and plain text using Swift:
swift -e ' import AppKit let html = try Data(contentsOf: URL(fileURLWithPath: "/tmp/_clipboard_rich.html")) let text = try String(contentsOfFile: "/tmp/_clipboard_rich.txt", encoding: .utf8) let pb = NSPasteboard.general pb.clearContents() pb.setData(html, forType: .html) pb.setString(text, forType: .string) '
**Step 4:** Clean up temp files:
rm -f /tmp/_clipboard_rich.html /tmp/_clipboard_rich.txt
1. Identify the most recent text block the user wants copied (message, code block, drafted text, etc.) 2. If ambiguous, ask what to copy 3. Use single-quoted heredoc delimiters (`'CLIPBOARD'`, `'CLIPBOARD_HTML'`, `'CLIPBOARD_TEXT'`) to prevent shell expansion 4. For rich copy, convert markdown-style content to proper HTML (use `<b>`, `<i>`, `<code>`, `<ul>/<li>`, `<h1>`-`<h6>`, `<pre>`, etc.). **Do NOT use `<table>` for Slack/chat targets** — use line-per-row text instead. 5. Always provide a plain text fallback alongside HTML 6. Confirm success after copying, noting whether plain or rich format was used
Practices, protocols, and skills for AI-driven software development. Skills and safety hooks for Claude Code, Codex, OpenCode, Cursor, Antigravity, and any agent supporting the Agent Skills standard.
Audit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode. Use when…
8-step disciplined bug-fix protocol that treats every production bug as two failures — the code defect itself and the testing…
Software-engineering heuristics based on Mark Seemann's Code That Fits in Your Head (2021), updated for agent-driven development.…
Fetch a web page (URL) and return clean Markdown via local trafilatura, with Exa MCP as a fallback for JS-rendered or anti-bot…
Use First Principles Framework (FPF) to decompose problems, architect systems, evaluate alternatives, define quality, qualify and…
Manage hooks and automation for coding agents (Claude Code, Codex CLI, OpenCode, Devin CLI/Desktop). Use when users want to add,…