# ACRA MoEA Deep Research Pipeline — Claude Code Skills

Two Claude Code skills that form a two-stage research-to-publication pipeline.

**Stage 1: `gemini-deep-research-xml`** — Takes any topic or brief and outputs a production-grade XML prompt for Gemini Deep Research, with STT-ANCHOR hooks embedded at every structural thesis point.

**Stage 2: `semantic-triple-transformation`** — Takes the Gemini output (with STT-ANCHOR blocks) and produces three simultaneous deliverables: Substack longform, 9x16 infographic JSON, and an X thread.

---

## Requirements

- [Claude Code](https://claude.ai/code) desktop app (Mac or Windows)
- That's it

---

## Install

1. Open Finder and press **Cmd+Shift+G**, then paste this path and hit Enter:

   ```
   ~/Library/Application Support/Claude/local-agent-mode-sessions
   ```

2. Inside that folder, navigate to:

   ```
   skills-plugin → [folder] → [folder] → skills
   ```

   There will be two nested folders with long IDs — just keep clicking through until you see a `skills` folder containing things like `pdf`, `docx`, etc.

3. Copy `gemini-deep-research-xml.skill` and `semantic-triple-transformation.skill` into that `skills` folder.

4. Restart Claude Code.

---

## Verify

After restarting, open Claude Code and type:

> Build me a Gemini deep research prompt on [any topic]

Claude should invoke the `gemini-deep-research-xml` skill automatically. After you run that output through Gemini Deep Research, paste the result back and say:

> Run the STT

That triggers `semantic-triple-transformation` and produces all three deliverables.

---

## The Pipeline

```
Your brief
   ↓
[gemini-deep-research-xml]  ←  Stage 1 (Claude Code)
   ↓
XML prompt → paste into Gemini Deep Research
   ↓
Gemini output with STT-ANCHOR blocks
   ↓
[semantic-triple-transformation]  ←  Stage 2 (Claude Code)
   ↓
Substack longform + Infographic JSON + X thread
```

---

## Trigger Phrases

**Stage 1:**
- "Build me a Gemini deep research prompt on X"
- "Optimize this for Gemini deep research"
- "Prep this topic for the STT pipeline"

**Stage 2:**
- "Run the STT"
- "Triple transformation"
- "Turn this into the three deliverables"
- "STT this"

---

## Notes

- These skills work in Claude Code desktop and CLI only — not on claude.ai web or the iOS app
- Any model works (Sonnet, Opus, Haiku) — the skills are model-agnostic
- Stage 2 needs at least 3 STT-ANCHOR blocks in the input to run cleanly; 5+ for full coverage

---

Built by ACRA Insight / [@BretKerr](https://x.com/BretKerr)
