media-agent: Instructions file for Claude Code

CLAUDE.md

media-agent CLAUDE.md is an instructions file for Claude Code from Minara-AI/media-agent. It costs 720 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions and skills for creating content and publishing it across multiple platforms. It includes workflows for ideas, writing, images, setup, and publishing.

In plain words
What is it for?
Use it to brainstorm, write, adapt, resize, and publish developer content to configured platforms.
Why use it?
It removes the need to repeat the same content work separately for each platform. It also provides shared rules for platform-specific formats and credentials.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is Minara-AI/media-agent's own configuration. It tells Claude Code how to work on media-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything media-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Minara-AI/media-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Minara-AI/media-agent/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Minara-AI/media-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for media-agent CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/minara-ai/media-agent/claude-md.svg)](https://agentmods.dev/instructions/minara-ai/media-agent/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/minara-ai/media-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/minara-ai/media-agent/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 720 This file is loaded in full into every session.
When invoked 720 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00720 $0.00720
Opus 5 $0.00360 $0.00360
Sonnet 5 $0.00144 $0.00144
Haiku 4.5 $0.00072 $0.00072

Measured 8d ago against content hash 7ab22d4a9487, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

media-agent CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

media-agent

Open-source Claude Code skill pack for developer content creation and multi-platform publishing.

What this is

A set of Claude Code skills that let developers write content once and publish to multiple platforms with intelligent per-platform adaptation. Write in conversation, publish everywhere.

Architecture

  • skills/ — Claude Code skills (SKILL.md format)
  • lib/ — Shared markdown partials that skills read at runtime via the Read tool
  • adapters/ — Platform adapters (adapter.yaml + format.md + publish.sh per platform)
  • content/ — User's content (posts, config, assets)
  • test/ — Adapter contract validation and manifest tests

Skills

Skill Purpose
/media Master orchestrator — full guided workflow
/media-setup Configure platform connections and API keys
/media-idea Brainstorm topics, outlines, hooks
/media-write Guided co-creation writing + variant generation
/media-image Generate and resize images for each platform
/media-publish Publish to all configured platforms

Key conventions

  • Credentials live in .env (gitignored), never in platforms.yaml
  • Manifest (manifest.yaml) tracks publish status per platform. Always validate after writing. Use atomic writes (write to .tmp, then mv).
  • Adapters are self-contained directories. Each has 3 files: adapter.yaml, format.md, publish.sh
  • publish.sh is invoked with env var isolation: only the declared auth_env_var is passed
  • Sub-skills must read lib/*.md partials at the start before proceeding
  • Orchestrator (/media) is a thin sequencer (~500 lines). Sub-skills are the canonical implementations.

Platform adapters

v1.0 (ready): GitHub Pages (git push), Dev.to (API key), Hashnode (API key + GraphQL)

v1.1 (skeleton included): Twitter/X (API v2 thread), 微信公众号 (WeChat MP API, HTML)

v2 (planned): 小红书, 知乎, Medium

Humanization (de-AI writing)

All content passes through a humanization layer defined in lib/humanize.md:

  • 29 AI writing patterns detected and rewritten (based on Wikipedia's WikiProject AI Cleanup)
  • Chinese-specific de-AI rules (去AI味): anti-成语堆砌, 口语化, structural de-rigidification
  • Voice calibration via content/config/voice.yaml — provide writing samples to match personal style
  • Applied during drafting (rules active while writing) and as a dedicated audit pass before variant generation

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 68 lines · 720 tokens per session scan A 7ab22d4a9487

Subscribe to this mod's changes

media-agent CLAUDE.md is an instructions file published in the GitHub repository Minara-AI/media-agent (6 stars, last pushed 5mo ago), licensed MIT. It adds 720 tokens to every session, about $0.0036 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens