taketomarket
AGENTS.md16 starsChanged 7 months agoMITView on GitHub
takeToMarket An open-source Codex / Codex skill that brings GSD-style spec-driven development to marketing. takeToMarket is a marketing operating system — not a content generator — that treats every campaign, asset, and channel as a spec-driven unit with a verifiable outcome, a positioning invariant, and a quality gate wall. Users install it into their Codex or Codex environment and run marketing campaigns through a 9-phase lifecycle with persistent state, compound learnings, and automated verification. Core Value: Every marketing asset ships…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ttm-101Skill
- ttm-aeo-checkSkill
- ttm-affiliate-kitSkill
- ttm-archiveSkill
- ttm-brand-refreshSkill
- ttm-briefSkill
- ttm-competitor-scanSkill
- ttm-deploySkill
- ttm-discoverSkill
- ttm-email-checkSkill
- ttm-email-preflightSkill
- ttm-fixSkill
- ttm-healthSkill
- ttm-humanizeSkill
- ttm-icp-refreshSkill
- ttm-improve-skillSkill
- ttm-initSkill
- ttm-keyword-mapSkill
- ttm-landingSkill
- ttm-learnSkill
- ttm-linkedin-postSkill
- ttm-measureSkill
- ttm-new-campaignSkill
- ttm-nextSkill
- ttm-playwright-setupSkill
- ttm-positioning-checkSkill
- ttm-positioning-shiftSkill
- ttm-produceSkill
- ttm-pseoSkill
- ttm-repurposeSkill
- ttm-request-skillSkill
- ttm-researchSkill
- ttm-resumeSkill
- ttm-reviewSkill
- ttm-seo-auditSkill
- ttm-seoSkill
- ttm-shipSkill
- ttm-stateSkill
- ttm-updateSkill
- ttm-verifySkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Core Value: Every marketing asset ships with a verifiable outcome metric and passes through a positioning-invariant quality gate wall — no …
- Distinctive: line 14
When assisting the user:
- Distinctive: line 17
Default to opinionated guidance — they came here because they don't know what's "right" in marketing.
- Very specific: line 18
When suggesting marketing terms, link to /ttm-101 or run inline explanations on first use.
- Distinctive: line 22
Platform: Must work as a Codex skill AND Codex skill — skill format must be compatible with both runtimes
- Very specific: line 25
State persistence: All state lives in .taketomarket/ directory files — no database, no external storage <!-- GSD:project-end -->
- Very specific: line 94
Use context: fork for production and verification skills
- Very specific: line 95
Use Task() subagent API for wave-parallel execution
- Very specific: line 96
Use AskUserQuestion for interactive onboarding
- Distinctive: line 98
Add AGENTS.md alongside AGENTS.md
- Distinctive: line 99
Add text_mode fallback for AskUserQuestion (numbered list prompts)
- Very specific: line 100
Test that all skills work without AskUserQuestion tool
- Very specific: line 101
Use --text flag detection pattern from GSD
- Very specific: line 102
All skills installed as /ttm-* flat commands via ~/.Codex/skills/ttm-*/
- Very specific: line 164
No project skills found. Add skills to any of: .Codex/skills/, .agents/skills/, .cursor/skills/, or .github/skills/ with a SKILL.md index …
- Distinctive: line 170
Before using Edit, Write, or other file-changing tools, start work through a GSD command so planning artifacts and execution context stay …
- Distinctive: line 172
Use these entry points:
- Distinctive: line 177
Do not make direct repo edits outside a GSD workflow unless the user explicitly asks to bypass it.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- GSD:project-start source:PROJECT.md -->Project
takeToMarket
An open-source Codex / Codex skill that brings GSD-style spec-driven development to marketing. takeToMarket is a marketing operating system — not a content generator — that treats every campaign, asset, and channel as a spec-driven unit with a verifiable outcome, a positioning invariant, and a quality gate wall. Users install it into their Codex or Codex environment and run marketing campaigns through a 9-phase lifecycle with persistent state, compound learnings, and automated verification.
Core Value: Every marketing asset ships with a verifiable outcome metric and passes through a positioning-invariant quality gate wall — no asset ships without both, ever.
Target Audience
Built for developerneurs and solopreneurs — engineers building and shipping their own products who have zero or near-zero marketing/growth experience.
When assisting the user:
- Assume strong engineering literacy. They read code fluently.
- Assume zero marketing literacy. Explain positioning, ICP, AEO, funnels in engineering analogies.
- Default to opinionated guidance — they came here because they don't know what's "right" in marketing.
- When suggesting marketing terms, link to
/ttm-101or run inline explanations on first use.
Constraints
- Platform: Must work as a Codex skill AND Codex skill — skill format must be compatible with both runtimes
- Context window: Production in Produce phase uses fresh 200K-token contexts per wave, loaded with brief + positioning + brand + ICP + playbook
- No external dependencies for MVP: The skill itself should not require external services — analytics data is pasted in manually
- State persistence: All state lives in
.taketomarket/directory files — no database, no external storage
<!-- GSD:project-end --><!-- GSD:stack-start source:research/STACK.md -->Technology Stack
Recommended Stack
Core Technologies
| Technology | Version | Purpose | Why Recommended |
| SKILL.md (Agent Skills standard) | Current | Skill entry point and slash command definition | Universal standard adopted by Codex, Codex, Gemini CLI, Cursor, and 8+ runtimes. Each SKILL.md directory becomes a /ttm-* slash command. Verified via official Codex docs. |
| AGENTS.md | Current | Project-level instruction file for Codex | Loaded automatically in every session. takeToMarket uses this to inject positioning-as-invariant enforcement and campaign lifecycle rules. |
| AGENTS.md | Current | Codex-compatible instruction file | Codex reads AGENTS.md automatically. Coexists with AGENTS.md -- both can live in the same repo. Required for dual-runtime support. |
| Markdown (.md) | N/A | All skill content, templates, workflows, references | The entire Codex skill ecosystem is Markdown-native. YAML frontmatter for config, Markdown body for instructions. No other format is viable. |
| Node.js (CJS) | 18+ | CLI utilities (bin/ tools) | GSD uses .cjs files for deterministic operations (state management, config parsing, slug generation, commit orchestration). Node 18+ is required by Codex itself. |
| YAML frontmatter | N/A | Skill metadata, plan metadata, state tracking | Standard across all Agent Skills. Parsed natively by Codex, Codex, and the GSD ecosystem. |
Directory Structure (The Skill Itself)
User's Project Directory (Created by /ttm-init)
Supporting Libraries
| Library | Version | Purpose | When to Use |
| None (zero runtime dependencies) | N/A | N/A | The skill itself has NO runtime dependencies. This is critical -- skills are Markdown files read by the AI runtime. The only "code" is optional CLI utilities in bin/ using Node.js built-ins only. |
Development Tools
| Tool | Purpose | Notes |
| Node.js 18+ | Run bin/ttm-tools.cjs for deterministic operations | Already required by Codex. Use built-in fs, path, crypto only -- no npm dependencies in the tool itself. |
| git | Version control for skill development | Standard. Needed for git clone distribution path. |
| npm | Package publishing | For npx taketomarket installation path. Only the installer uses npm -- the skill itself is dependency-free. |
SKILL.md Frontmatter Specification
Key Frontmatter Decisions
| Field | Recommendation | Why |
disable-model-invocation: true | Use for all campaign lifecycle commands | Marketing campaigns are deliberate actions. Users should invoke /ttm-produce, not have Codex auto-trigger it because it detected "content" in conversation. |
disable-model-invocation: false | Use for /ttm-positioning-check and /ttm-health | These are advisory/monitoring skills that Codex should trigger when it detects potential positioning drift in conversation. |
context: fork | Use for /ttm-produce and /ttm-verify | Production and verification benefit from isolated subagent contexts with fresh context windows, following GSD's wave-parallel pattern. |
allowed-tools | Include Task for orchestration skills | Skills that spawn subagents (produce, verify) need the Task tool. Simpler skills (state, resume) only need Read/Write/Bash. |
Codex Compatibility (AGENTS.md)
Plugin Distribution (PRIMARY -- Recommended)
- Installs skills as flat commands to
~/.Codex/skills/ttm-*/(e.g.,/ttm-produce) - Supports marketplace discovery and one-command installation
- Handles updates via
/plugin update - Packages skills, agents, hooks, and bin/ together
Plugin Manifest
Plugin Directory Layout
npm Distribution (SECONDARY -- Convenience)
package.json
Installer Script (install.js)
git clone Distribution (TERTIARY -- Hackers)
Then install via /plugin install from the directory
Alternatives Considered
| Recommended | Alternative | When to Use Alternative |
| Plugin format (.Codex-plugin/) | Standalone skills (.Codex/skills/) | Only if you never plan to distribute the skill. Plugin format is strictly better for distribution. |
| Markdown for all content | YAML/JSON config files | Never for skill instructions. Only use JSON for plugin.json manifest and ttm-tools.cjs config state. |
| Node.js CJS for bin/ tools | Python scripts | Only if the skill needs heavy computation (PDF generation, data analysis). Python requires additional runtime. Node.js is guaranteed available because Codex requires it. |
| Single bin/ttm-tools.cjs entry | Multiple bin scripts | Never split into multiple entry points. GSD uses a single gsd-tools.cjs with subcommands. This keeps PATH clean and avoids permission issues. |
| YAML frontmatter for metadata | Custom config format | Never. YAML frontmatter is the universal standard parsed by all Agent Skills-compatible runtimes. |
What NOT to Use
| Avoid | Why | Use Instead |
| npm dependencies in the skill | Skills must be zero-dependency. The AI runtime reads Markdown -- it does not run npm install. Adding dependencies breaks installation for all distribution paths. | Node.js built-in modules only in bin/ tools. |
| TypeScript for bin/ tools | Requires build step, adds complexity to installation. GSD uses plain .cjs files. | Plain CommonJS (.cjs) with no transpilation. |
| JSON for skill instructions | Not human-readable for the AI or the user. Markdown is the lingua franca of prompt engineering. | Markdown with YAML frontmatter. |
| Jinja/Handlebars/EJS templates | Template engines add runtime dependencies and complexity. Codex fills in templates natively from Markdown. | Plain Markdown templates with placeholder sections the AI fills in. |
| Database for state | Skills run in the user's filesystem. No database server to depend on. | Markdown files in .taketomarket/ directory. |
| External API calls in skill code | MVP has no external dependencies. Analytics data is pasted manually. | Manual paste workflow. MCP integrations deferred to V2. |
.Codex/commands/*.md (flat files) | Legacy format. Skills (directory + SKILL.md) supersede flat command files and support additional features (supporting files, hooks, subagent execution). | .Codex/skills/ttm-*/SKILL.md directory format. |
| Putting skills inside .Codex-plugin/ | Common mistake documented in official docs. Only plugin.json goes inside .Codex-plugin/. Skills, agents, hooks go at plugin root. | Plugin root level: skills/, agents/, bin/ at same level as .Codex-plugin/. |
Stack Patterns by Variant
- Use
context: forkfor production and verification skills - Use
Task()subagent API for wave-parallel execution - Use
AskUserQuestionfor interactive onboarding - Single AGENTS.md instruction file
- Add AGENTS.md alongside AGENTS.md
- Add text_mode fallback for AskUserQuestion (numbered list prompts)
- Test that all skills work without
AskUserQuestiontool - Use
--textflag detection pattern from GSD - All skills installed as
/ttm-*flat commands via~/.Codex/skills/ttm-*/ - Plugin manifest at
.Codex-plugin/plugin.json bin/directory for CLI tools (added to PATH automatically)settings.jsonfor default configuration- Single
install.jsbin entry point - File manifest tracking for updates
- Runtime detection and transformation
- Symlink creation to
~/.Codex/skills/
Key Architecture Patterns from GSD
1. Workflow-Skill Separation
2. Reference Files for Domain Knowledge
3. Templates for User-Facing Output
4. bin/ for Deterministic Operations
5. State as Markdown Files
Sources
- Codex Skills Documentation -- Official SKILL.md specification, frontmatter fields, directory structure, context: fork, allowed-tools, dynamic context injection (HIGH confidence)
- Codex Plugins Documentation -- Plugin manifest format, distribution, marketplace, directory layout (HIGH confidence)
- GSD (Get Shit Done) GitHub -- Installation architecture, 14-runtime support, npm packaging pattern (HIGH confidence, verified via local filesystem inspection)
- GSD local installation at ~/.Codex/get-shit-done/ -- Direct inspection of v1.36.0: workflows/, references/, templates/, bin/, contexts/, agents/ structure (HIGH confidence)
- Agent Skills open standard -- Cross-runtime compatibility specification (MEDIUM confidence, referenced in official Codex docs)
- get-shit-done-cc npm package -- npm distribution pattern with single bin entry point and runtime-specific installer (HIGH confidence)
- DeepWiki GSD Installation -- Detailed installer architecture, file manifest, runtime transformations (MEDIUM confidence)
<!-- GSD:stack-end --><!-- GSD:conventions-start source:CONVENTIONS.md -->Conventions
Conventions not yet established. Will populate as patterns emerge during development.
<!-- GSD:conventions-end --><!-- ttm-maintainer-notes-start: hand-written, not GSD-managed -->Maintainer Notes
Project-specific gotchas future maintainers should know before editing.
Inline-workflow skills (no separate workflow file)
Two skills carry their entire workflow inline in SKILL.md instead of routing to a workflows/<...>.md file:
skills/ttm-update/SKILL.mdskills/ttm-seo/SKILL.md(with sub-workflows atworkflows/discipline/seo/{aeo,audit,keyword-map}.mdcovering subcommand bodies)
The P6 first-run-inline-education hook (## Step 0: First-run inline education) lives in the SKILL.md for these two — not in a workflow file. If you later split either skill's flow out into a dedicated workflow file, move Step 0 with it and remove it from the SKILL.md so the hook fires exactly once per invocation.
Playbook contract
Every discipline playbook in playbooks/<discipline>.md must conform to playbooks/base.md: YAML frontmatter (discipline, asset_types, version), 7 required H2 sections in order (Production Guidance / Discipline Gates / Base Gate Overrides / Format Rules / Examples / Anti-Patterns / Metrics), gate IDs DISC-{DISCIPLINE}-NN with PASS/WARN/FAIL criteria, ≤500 lines. An optional ## Sources 8th section is permitted for leader-derived playbooks (P6+).
Install-method detection
bin/lib/install-detect.cjs reads ~/.taketomarket/.install-method first (sentinel JSON written by install.js during copyPackageBase). Falls back to a CLAUDE_PLUGIN_ROOT + .git/ heuristic only when the sentinel is absent. The plugin-root candidate must contain a package.json with "name": "taketomarket" to qualify — this prevents false positives against generic ~/.Codex/skills/ directories. If you change install.js's copy targets, keep writeInstallSentinel in the same code path or /ttm-update will degrade silently.
<!-- ttm-maintainer-notes-end --><!-- GSD:architecture-start source:ARCHITECTURE.md -->Architecture
Architecture not yet mapped. Follow existing patterns found in the codebase.
<!-- GSD:architecture-end --><!-- GSD:skills-start source:skills/ -->Project Skills
No project skills found. Add skills to any of: .Codex/skills/, .agents/skills/, .cursor/skills/, or .github/skills/ with a SKILL.md index file.
<!-- GSD:skills-end --><!-- GSD:workflow-start source:GSD defaults -->GSD Workflow Enforcement
Before using Edit, Write, or other file-changing tools, start work through a GSD command so planning artifacts and execution context stay in sync.
Use these entry points:
/gsd-quickfor small fixes, doc updates, and ad-hoc tasks/gsd-debugfor investigation and bug fixing/gsd-execute-phasefor planned phase work
Do not make direct repo edits outside a GSD workflow unless the user explicitly asks to bypass it.
<!-- GSD:workflow-end --><!-- GSD:profile-start -->Developer Profile
Profile not yet configured. Run
/gsd-profile-userto generate your developer profile. This section is managed bygenerate-Codex-profile-- do not edit manually.
<!-- GSD:profile-end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

