Agent skill

Content Writer Agent

by mastra-ai in mastra-ai/mastra

Authoring playbook for building agents that draft written content — blog posts, marketing copy, social media posts, newsletters, product descriptions, landing pages, or ad copy.

Custom licenceAuto-check passedWriting & Content

Install Content Writer Agent

skills CLI
$ npx skills add mastra-ai/mastra --skill content-writer-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mastra-ai/mastra content-writer-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mastra-ai/mastra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/editor/src/ee/workspace/skills/content-writer-agent .claude/skills/content-writer-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
content-writer-agent
GitHub stars
29k
Token cost
~1.3k tokens
SKILL.md length
352 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
Custom licence

At a glance

Authoring playbook for building agents that draft written content — blog posts, marketing copy, social media posts, newsletters, product descriptions, landing pages, or ad copy.

  • Works in 3 steps: A web search tool if the content is news… → A CMS or publishing tool (Webflow,… → An image-generation tool if the format…
  • Wants an agent that writes
  • SKILL.md covers When to use, Agent identity template, System prompt template and Required behavioral rules to…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Content Writer Agent is an agent skill from mastra-ai/mastra. Authoring playbook for building agents that draft written content — blog posts, marketing copy, social media posts, newsletters, product descriptions, landing pages, or ad copy. Use this when the user wants an agent that writes, drafts, or rewrites text for publication or marketing.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Blog and article writing, Copywriting and Social media posts. It works with LinkedIn. The repository describes itself as: Mastra is the modern TypeScript framework for AI-powered applications and agents.

When your agent uses it

  • Wants an agent that writes
  • Rewrites text for publication

Example prompts

  • “/content-writer-agent”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. A web search tool if the content is news / trend driven.
  2. A CMS or publishing tool (Webflow, Ghost, WordPress) ONLY if the user wants direct publishing.
  3. An image-generation tool if the format calls for hero imagery.

What it can do on your machine

Read from SKILL.md and the folder at commit b98829a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Content Writer Agent loads about 1.3k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 352 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 352 words (~1,287 tokens).

“Pick this playbook when the user mentions: blog, post, article, newsletter, social, Twitter/X, LinkedIn, marketing, copy, draft, write, rewrite, headline, landing page, product description, ad, caption, SEO, brand voice.”

— opening of SKILL.md by mastra-ai, Custom licence
name
content-writer-agent

Read the full SKILL.md on GitHub

Files

Just SKILL.md in packages/editor/src/ee/workspace/skills/content-writer-agent of mastra-ai/mastra.

Open the folder on GitHubat commit b98829a

Compare with similar skills

Content Writer Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Content Writer Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Content Writer Agent this skillmastra-ai/mastra29k—~1.3kAutomated safety check: PassCustom licence
Li RepurposeJakeschincariol/linkedin-agent-skill1.7k—~680Automated safety check: PassMIT
Copywriting Hookssamber/cc-skills227—~6.8kAutomated safety check: PassMIT
Money Contentiamzifei/show-me-the-money1k—~9.6kAutomated safety check: PassCustom licence
26 Thought Leadership Content Globalminhnv0807/ai-business-skills609—~4.7kAutomated safety check: PassMIT
Linkedin Content Repurposerborghei/Claude-Skills891—~3.6kAutomated safety check: PassMIT

Similar skills

  • Li Repurpose

    Jakeschincariol/linkedin-agent-skill

    Turn one long asset - a YouTube video, podcast, newsletter, blog post, transcript or client call - into a week of LinkedIn posts.

    1.7k GitHub stars~680 tokensUpdated 24 days ago
    Writing & ContentAuto-check passed
  • Copywriting Hooks

    samber/cc-skills

    Writes opening hooks and post titles for long-form articles in EN or FR — blog posts, Substack/Medium/dev.to, LinkedIn long-form, newsletters, essays.

    227 GitHub stars~6.8k tokensUpdated 10 days ago
    Writing & ContentAuto-check passed
  • Money Content

    iamzifei/show-me-the-money

    Automated content creation pipeline for business growth. An agent skill from iamzifei/show-me-the-money.

    1k GitHub stars~9.6k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • 26 Thought Leadership Content Global

    minhnv0807/ai-business-skills

    A skill your agent uses when a PERSONAL brand needs long-form WRITTEN content that builds authority rather than sells — LinkedIn posts, X threads, Substack and Medium essays, using PAS-Insight for…

    609 GitHub stars~4.7k tokensUpdated 29 days ago
    Writing & ContentAuto-check passed
  • Linkedin Content Repurposer

    borghei/Claude-Skills

    Turns something made for another channel (a thread, a video or talk transcript, a blog post, a newsletter) into a post that reads as native to LinkedIn, without changing what the source says.

    891 GitHub stars~3.6k tokensUpdated 4 days ago
    Writing & ContentAuto-check passed
  • Content Repurposer

    mohitagw15856/pm-claude-skills

    Turn one piece of content into a full multi-platform pack — X/Twitter thread, LinkedIn post, newsletter section, Instagram carousel, and a short-form video script — each rewritten natively for its…

    1.4k GitHub stars~1.4k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed

More from mastra-ai/mastra

All 44 skills in this repo
  • Docs Audit

    mastra-ai/mastra

    Autonomous, report-only documentation review for Mastra docs.

    29k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Builder Smoke Test

    mastra-ai/mastra

    Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current worktree).

    29k GitHub stars~11k tokensUpdated today
    Auto-check: notes
  • Mastra Smoke Test

    mastra-ai/mastra

    Smoke test Mastra projects locally or deploy to staging/production.

    29k GitHub stars~4k tokensUpdated today
    Auto-check: notes
  • React Best Practices

    mastra-ai/mastra

    React performance optimization guidelines from Mastra Engineering.

    29k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Agent Prompt Quality Bar

    mastra-ai/mastra

    Universal quality bar and final audit rubric for any agent system prompt.

    29k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Works with

Questions about Content Writer Agent

What does Content Writer Agent do?

Authoring playbook for building agents that draft written content — blog posts, marketing copy, social media posts, newsletters, product descriptions, landing pages, or ad copy. Content Writer Agent is an agent skill from mastra-ai/mastra. Authoring playbook for building agents that draft written content — blog posts, marketing copy, social media posts, newsletters, product descriptions, landing pages, or ad copy.

When should I use Content Writer Agent?

Content Writer Agent fits situations like: wants an agent that writes; rewrites text for publication.

How do I install Content Writer Agent in Claude Code?

Run `npx skills add mastra-ai/mastra --skill content-writer-agent -a claude-code`. Or copy the skill folder (packages/editor/src/ee/workspace/skills/content-writer-agent in mastra-ai/mastra) into .claude/skills/content-writer-agent in your project. Claude Code loads it when a task matches its description.

How do I install Content Writer Agent in Codex?

Run `npx skills add mastra-ai/mastra --skill content-writer-agent -a codex`. Or copy the skill folder (packages/editor/src/ee/workspace/skills/content-writer-agent in mastra-ai/mastra) into .agents/skills/content-writer-agent in your project. Codex loads it when a task matches its description.

Can I use Content Writer Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mastra-ai/mastra --skill content-writer-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/content-writer-agent, .gemini/skills/content-writer-agent, .github/skills/content-writer-agent and .opencode/skills/content-writer-agent in your project.

What does Content Writer Agent need to run?

SKILL.md names no scripts, command-line tools or credentials: Content Writer Agent is instructions for the agent only.

Does Content Writer Agent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Content Writer Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Content Writer Agent use?

Content Writer Agent has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Content Writer Agent use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Content Writer Agent?

Skills that share tags, products or a category with Content Writer Agent: Li Repurpose (Jakeschincariol/linkedin-agent-skill, 1.7k stars), Copywriting Hooks (samber/cc-skills, 227 stars), Money Content (iamzifei/show-me-the-money, 1k stars) and 26 Thought Leadership Content Global (minhnv0807/ai-business-skills, 609 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Content Writer Agent?

mastra-ai (a GitHub organization) maintains it in mastra-ai/mastra, which has 28,698 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 11, 2026.

Source: mastra-ai/mastra on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.