anywrite
できること
Anywrite は、パソコンから Anytype アプリを操作できるツールです。ターミナルでコマンドを入力するような感覚で、Anytype 内のメモ、タスク、その他のコンテンツを整理できます。
使う場面
- ✓Anytype でメモやタスクを作成、更新、検索したいとき。
- ✓タグ、タイプ、リストを使って Anytype のコンテンツを整理したいとき。
- ✓Anytype にファイルをアップロードしたり、Anytype 内でチャットを自動で行ったりしたいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/anywrite/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Anytype で「パンを買う」という名前のタスクを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
パソコンに Anytype アプリがインストールされていて、起動している必要があります。そのうえで Anywrite を使い、新しいメモの作成や、保存済みの内容の検索などの具体的なコマンドを送ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
anywrite
Overview
anywrite is a single compiled Bun/TypeScript CLI for the Anytype desktop app's local HTTP API — all 52 endpoints across spaces, objects, properties, tags, types, templates, lists, chat, files, members, search, and auth — as one binary with zero runtime dependencies. It exists as a low-context alternative to Anytype's official MCP server: rather than exposing 52 always-loaded tools to every agent session, anywrite is a normal CLI wired as a skill that costs zero context until it's actually invoked, and is equally usable from a terminal or any script.
When to Use This Skill
- Use when the user mentions Anytype or asks to create, update, search, or organize notes, tasks, or PKM objects.
- Use when working with Anytype spaces, properties, tags, types, templates, or lists (sets and collections).
- Use when the user asks to upload files to a space, chat inside a space, or read/write structured objects programmatically.
How It Works
Step 1: Ensure Anytype desktop is running and authenticated
This repository does not ship the anywrite executable. The user must install or build a reviewed upstream release outside the current workspace and provide its explicit absolute path. Before use, verify that path is an executable regular file, is not a symlink, and is not a workspace-relative dist/ artifact. Never auto-discover or execute ./dist/anywrite from the repository being worked on.
The Anytype desktop app must be running locally (default http://localhost:31009). Authenticate once:
"/absolute/path/to/anywrite" auth --status # shows configured yes/no and where the key came from
"/absolute/path/to/anywrite" auth # challenge flow — a 4-digit code appears in the app
"/absolute/path/to/anywrite" auth --code 1234 # non-interactive form of the same exchange
The key is written to ~/.anywrite/config.json and is never printed by any command.
Step 2: Invoke a resource + action
anywrite <resource> <action> [positionals] [--flag value]
Resources: spaces, objects, properties, tags, types, templates, lists, files, members, search, chat, auth. Output is JSON by default; add --pretty for a human view, --json as an escape hatch for anything the typed flags don't model yet. space/type/property positionals accept a name or an id — names are resolved to ids automatically.
Examples
Example 1: Create and update an object
"/absolute/path/to/anywrite" objects create <space> --type task --name "Buy milk"
"/absolute/path/to/anywrite" objects update <space> <object_id> --status "Done"
Example 2: Search and upload a file
"/absolute/path/to/anywrite" search global --query "task" --types task
"/absolute/path/to/anywrite" files upload <space> --file ./image.png
Example 3: Read chat messages
"/absolute/path/to/anywrite" chat messages <space> <chat_id> --all
Best Practices
- ✅ Pass names for
space/type/propertyand let the CLI resolve them to ids. - ✅ Use default JSON output for scripting and
--prettyfor human review. - ✅ Reach for
--jsonwhen a brand-new API field isn't yet covered by a typed flag. - ❌ Don't set an empty-string emoji
--icon; omit the flag entirely instead. - ❌ Don't expect
lists add/removeto work on sets — they only apply to collections.
Limitations
- This skill does not replace environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, or safety boundaries are missing.
- Bounded by the Anytype local API itself: no block-level editing (body is whole-markdown replace only), no member invite/role management, no template create/update/delete, no space deletion.
- The object body field is named
--bodyon create but--markdownon update.
Security & Safety Notes
- The API key is stored locally in
~/.anywrite/config.jsonand is never printed by any command, includingauth --status. - Config precedence at runtime:
ANYTYPE_API_KEYenv var, then~/.anywrite/config.json, then a read-only fallback to an existing~/.anytype-cli/config.yaml. - All operations target a locally-running Anytype desktop instance; no data is sent to third-party servers.
- Delete is a soft archive everywhere and is idempotent — a repeated delete stays
200, never410.
Common Pitfalls
…
よくある質問
Anywrite を使うには、別途インストールが必要ですか?
はい、Anywrite は別途ダウンロードしてインストールする必要があります。Anytype に同梱されているわけではありません。
Anywrite はデータをどこかに送信しますか?
いいえ、すべての操作はパソコン上で、ローカルで動作している Anytype に対して直接行われます。外部のサーバーにデータが送信されることはありません。
Anywrite で新しいコンテンツタイプやテンプレートを作成できますか?
いいえ、Anywrite ではテンプレートやコンテンツタイプの作成や変更はできません。既存のコンテンツの管理に特化しています。
詳細
作者による元の説明
Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.
人気
- GitHubのスター
- 48k
- ランキング
- #6251
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。