content
What it does
This skill guides the agent to create, edit, and publish Markdown documents in a Content workspace, including documents stored in a repo. It is for writers and developers who keep docs or blog posts in Markdown.
When to use it
- ✓When you need a docs page, blog post, or resource page written or updated.
- ✓When you want to edit a Markdown or MDX file without breaking its frontmatter.
- ✓When documents live in a repo and should be edited through the Content tools.
Skill link
https://github.com/BuilderIO/agent-native/blob/main/skills/content/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Update the setup guide in our docs to add a section on API keys, keeping the existing format.”
5 new skills a week. 1 minute to read.
How it works
The agent reads the page first, then makes exact find-and-replace edits or full rewrites through the Content tools. If those tools are not available, it edits the configured files directly.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Content
Use the Content app when a workflow is about authoring, editing, reviewing, or publishing Markdown/MDX documents: docs sites, blogs, resource libraries, marketing pages, internal notes, and local MDX components. Content gives the agent a document tree, a rich editor, normal document actions, and optional local-file source of truth.
Choose The Path
- Use Content actions when the Content MCP/action tools are available:
list-documents,search-documents,get-document,pull-document,create-document,edit-document,update-document,delete-document,share-local-file-document,list-local-component-files, andwrite-local-component-file. - Use
pull-documentorget-documentbefore editing a page. Useedit-documentfor precise find/replace changes andupdate-documentfor full rewrites or new content. - In Local File Mode, Content actions read and write the repo files declared in
agent-native.json; SQL remains cache/history/search glue, not the source of truth for those pages. - If Content tools are not visible and no local Content app or Desktop bridge is
running, treat this skill as repo-editing guidance. Edit configured
.md/.mdxfiles directly, preserve frontmatter and MDX imports, and tell the user the Content action surface was not available.
Action Examples
Prefer JSON input for action calls:
pnpm action list-documents
pnpm action get-document '{"id":"local-file:..."}'
pnpm action edit-document '{"id":"local-file:...","find":"old copy","replace":"new copy"}'
pnpm action update-document '{"id":"local-file:...","content":"# Updated\n\nBody"}'
pnpm action share-local-file-document '{"id":"local-file:..."}'
Run refresh-list after create/update/delete operations when you need the open
Content UI sidebar to repaint immediately.
Local File Mode
Install into an existing repo with:
npx @agent-native/core@latest skills add content --mode local-files --scope project
The installer copies this skill and writes or updates agent-native.json with
Content roots for docs/, blog/, content/, and resources/, plus a
components/ folder for local MDX components. A typical manifest looks like:
{
"version": 1,
"apps": {
"content": {
"mode": "local-files",
"roots": [
{
"name": "Docs",
"path": "docs",
"kind": "docs",
"extensions": [".md", ".mdx"]
},
{
"name": "Blog",
"path": "blog",
"kind": "blog",
"extensions": [".md", ".mdx"]
},
{
"name": "Content",
"path": "content",
"kind": "content",
"extensions": [".md", ".mdx"]
},
{
"name": "Resources",
"path": "resources",
"kind": "resources",
"extensions": [".md", ".mdx"]
}
],
"components": "components",
"extensions": "extensions",
"hide": ["**/_*.md", "**/_*.mdx"]
}
}
}
Local File Mode does not make the host language model local, and the hosted Content app cannot read private repo files by itself. File access requires a local Content app, Agent-Native Desktop, or another trusted local bridge.
MDX And Components
- Preserve frontmatter keys you do not understand. Preserve MDX imports, exports, JSX, and expression props unless the user explicitly asks to change them.
- Use local components from the configured
componentsfolder. Components should be PascalCase exports from.tsxfiles; simple editable input metadata can live next to them asComponentNameInputs. - Use
list-local-component-filesandwrite-local-component-filefor component source changes when Content tools are available. Otherwise edit the component files directly like normal repo source.
Boundaries
- Moving, renaming, and reordering local-file pages are not first-class Content UI operations yet. Use normal file operations when the user asks for those, then let Content rediscover the file tree.
- Do not push/pull Notion, Builder.io, or other provider-backed content unless the user explicitly asks for provider sync.
- Do not paste secrets, private provider data, or credential-looking values into docs, generated pages, frontmatter, examples, or local components.
FAQ
When should the agent edit files directly?
Only when the Content tools are not available. Otherwise it uses the Content actions.
What does the agent do before editing a page?
It reads or pulls the document first, so it works from the current version.
Does Content support a local file mode?
Yes. In that mode the repo files are the source of truth, and the database is only a cache and search helper.
Details
Original description by the author
Use Content for repo-backed Markdown/MDX docs, blogs, resources, rich document editing, local components, shareable copies, and Content local-file workspaces. Prefer Content actions over raw filesystem writes when available.
repo: BuilderIO/agent-native
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13207
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.