content
できること
このスキルは、エージェントがContentのワークスペースでMarkdownの文書を作成、編集、公開するよう導きます。リポジトリに保存された文書も含みます。ドキュメントやブログの記事をMarkdownで管理するライターや開発者向けです。
使う場面
- ✓ドキュメントのページ、ブログ記事、リソースページを書いたり更新したりする必要があるとき。
- ✓フロントマターを壊さずに、MarkdownやMDXのファイルを編集したいとき。
- ✓文書がリポジトリにあり、Contentのツールを通じて編集すべきとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/skills/content/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“当社のドキュメントにあるセットアップガイドに、APIキーについての項目を追加してください。既存の形式はそのまま残してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、まずページを読み込み、その後Contentのツールを使って、正確な検索と置換の編集や全体の書き直しを行います。ツールが使えない場合は、設定されたファイルを直接編集します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
エージェントはいつファイルを直接編集しますか?
Contentのツールが使えない場合だけです。それ以外の場合は、Contentの操作を使います。
ページを編集する前に、エージェントは何をしますか?
まずページを読むか取得するので、最新の版に基づいて作業します。
Contentはローカルファイルのモードに対応していますか?
はい。そのモードでは、リポジトリのファイルが正となり、データベースはキャッシュと検索のための補助だけになります。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 7.6k
- ランキング
- #13207
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。