# Install the Content Marketing Engine Skill for Claude Code


**LLM summary:** Run `npx skills add Ask-Ditto/ditto-content-marketing` to install Ditto's content marketing skill. One study produces 7 content formats with narrative arc framework and SEO/GEO optimisation.


One study produces 7 content formats: blog article, infographic, social thread, email, exec summary, sales leave-behind, press release. 20-40 articles/month. Designed for content marketers, content directors, SEO specialists, and marketing managers scaling research-backed content.



### One-command install


```
npx skills add Ask-Ditto/ditto-content-marketing
```

   **Choose the right skill:** See all available skills at the [Claude Code Docs Hub](https://askditto.io/claude-code).

## Quick Install


### Manual install (personal - all your projects)


```
git clone https://github.com/Ask-Ditto/ditto-content-marketing.git
cp -r ditto-content-marketing ~/.claude/skills/
```



### Manual install (project-level - shared with team)


```
git clone https://github.com/Ask-Ditto/ditto-content-marketing.git
cp -r ditto-content-marketing /path/to/your/project/.claude/skills/
```



Project-level installation means the skill is committed to version control and shared with your team automatically.



## API Key Setup


Get a free Ditto API key (no credit card, no sales call):



```
curl -sL https://app.askditto.io/scripts/free-tier-auth.sh | bash
```



Or visit: [https://app.askditto.io/docs/free-tier-oauth](https://app.askditto.io/docs/free-tier-oauth)



Set it as an environment variable:



```
export DITTO_API_KEY="rk_free_YOUR_KEY_HERE"
```



Free keys (`rk_free_`): ~12 shared personas, no custom demographic filters. Paid keys (`rk_live_`): 300,000+ personas, full demographic filtering, unlimited studies.



## How It Works


Just ask Claude Code to do research. The skill activates automatically:



```
"Write a research-backed blog article about how US consumers feel about AI-powered customer service. 10 personas, SEO optimised."

"Generate a social media thread from our latest Ditto study with the 3 most quotable findings."

"Set up a content calendar: one research article per week across 4 different topics."
```



Or invoke directly:



```
/ditto-content-marketing "your research brief here"
```



## Troubleshooting


### Skill not activating


Check it's in the right directory:


- Personal: `~/.claude/skills/ditto-content-marketing/SKILL.md`

- Project: `.claude/skills/ditto-content-marketing/SKILL.md`


Verify with: `ls ~/.claude/skills/ditto-content-marketing/SKILL.md`



You can also invoke manually: `/ditto-content-marketing`



### API key not found


Ensure your key is set: `echo $DITTO_API_KEY`



If using a .env file, make sure Claude Code can read it.



### State filter returning 0 personas


Use 2-letter codes: `MI` not `Michigan`, `TX` not `Texas`.



### Questions failing


Questions must be asked one at a time. Poll one `job_id` until `finished` before asking the next question (all jobs from the same question complete simultaneously, so polling one is sufficient). Wait 45-50 seconds before the first poll.



## Links



- GitHub: [https://github.com/Ask-Ditto/ditto-content-marketing](https://github.com/Ask-Ditto/ditto-content-marketing)

- All Skills: [https://askditto.io/claude-code](https://askditto.io/claude-code)

- Full API Reference: [https://askditto.io/claude-code-guide](https://askditto.io/claude-code-guide)

- Case Studies: [https://askditto.io/case-studies](https://askditto.io/case-studies)




## Related Guides



- [Claude Code Docs Index](https://askditto.io/claude-code)

- [Why Ditto for Claude Code agents](https://askditto.io/claude-code/why-ditto)

- [Install the Product Research Skill](https://askditto.io/claude-code/installing-ditto-skill)

- [Install the Product Marketing Skill](https://askditto.io/claude-code/installing-product-marketing-skill)




**Ditto** - Synthetic market research with 300,000+ AI personas. [askditto.io](https://askditto.io) | [API Docs](https://app.askditto.io/docs/api)
