From rt
Adds internal and external links to WordPress blog post drafts from local markdown or site URLs, weaving naturally into existing sentences with density and placement rules.
npx claudepluginhub richtabor/agent-skills --plugin rtThis skill uses the workspace's default tool permissions.
Find and add internal and external links to a blog post draft, naturally woven into existing sentences.
Generates SEO-optimized blog posts with metadata, structured sections, readability tweaks, and linking suggestions via topic, audience, keyword prompts.
Manages full blog lifecycle: strategy, writing, rewriting, audits, outlines, schema, repurposing, images, topic clusters, multilingual publishing for SEO and AI citations across platforms like Next.js, WordPress.
Writes or edits structured blog posts (800-1200 words) with sections, referencing published posts and guidelines to avoid repetition and match voice.
Share bugs, ideas, or general feedback.
Find and add internal and external links to a blog post draft, naturally woven into existing sentences.
WORDPRESS_URL — Blog base URL (e.g. https://yourblog.com)WORDPRESS_USERNAME — WordPress account usernameWORDPRESS_APP_PASSWORD — Application password (not your regular password)Determine input type from what the user provides:
Local file — Read the markdown file. Parse any frontmatter for title, tags, or topic context.
WordPress URL — Extract the slug from the URL, then fetch via REST API:
curl -s "$WORDPRESS_URL/wp-json/wp/v2/posts?slug={slug}&_fields=id,title,content,tags,categories"
Store the post ID for later update if working from WordPress.
Fetch published posts from the same WordPress site:
curl -s -u "$WORDPRESS_USERNAME:$WORDPRESS_APP_PASSWORD" \
"$WORDPRESS_URL/wp-json/wp/v2/posts?per_page=100&_fields=id,title,link,excerpt,tags,categories"
From the results:
Use web search to find authoritative external references for key topics in the post (tools, libraries, concepts, standards).
Prefer in this order:
Avoid linking to other blog posts or news articles unless no better source exists.
Insert links into the existing text. Rules:
Do not explain what you found, list existing links, or narrate your process. Just present the table and ask for approval.
Present proposed links as a table using AskUserQuestion. Each link is a selectable option so the user can pick which ones to apply:
| # | Text | URL | Type | Reason |
|---|---|---|---|---|
| 1 | "block patterns" | /block-patterns | Internal | Related tutorial |
| 2 | "WCAG" | w3.org/WAI/WCAG21 | External | Official spec |
Use AskUserQuestion with multiSelect: true so the user can check the links they want applied. List each link as an option (e.g. label: "block patterns" → /block-patterns, description: the reason).
Do not proceed to Phase 6 until the user selects links.
After approval:
Local file — Overwrite the draft with the linked version.
WordPress post — Update via REST API:
curl -s -X POST \
-u "$WORDPRESS_USERNAME:$WORDPRESS_APP_PASSWORD" \
"$WORDPRESS_URL/wp-json/wp/v2/posts/{post_id}" \
-H "Content-Type: application/json" \
-d '{"content": "...updated HTML..."}'
Report final counts: