anywrite
Skill này làm gì
Anywrite là công cụ cho phép bạn điều khiển ứng dụng Anytype từ máy tính. Bạn có thể dùng nó để sắp xếp ghi chú, công việc và các nội dung khác trong Anytype, như thể đang gõ lệnh trong terminal.
Khi nào nên dùng
- ✓Khi bạn muốn tạo, cập nhật hoặc tìm kiếm ghi chú và công việc của mình trong Anytype.
- ✓Khi bạn muốn sắp xếp nội dung trong Anytype bằng thẻ, loại hoặc danh sách.
- ✓Khi bạn cần tải file lên Anytype hoặc trò chuyện trong đó một cách tự động.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/anywrite/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một công việc tên “Buy bread” trong Anytype.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn cần cài đặt và chạy ứng dụng Anytype trên máy tính. Sau đó, bạn dùng Anywrite để gửi các lệnh cụ thể, như tạo ghi chú mới hoặc tìm kiếm nội dung đã lưu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
…
Câu hỏi thường gặp
Tôi có cần cài đặt riêng để dùng Anywrite không?
Có, bạn cần tải và cài đặt Anywrite riêng. Nó không đi kèm với Anytype.
Anywrite có gửi dữ liệu của tôi đi đâu không?
Không, mọi thao tác được thực hiện trực tiếp trên máy tính của bạn khi Anytype đang chạy cục bộ. Không có dữ liệu nào được gửi đến máy chủ bên ngoài.
Tôi có thể tạo nội dung hoặc mẫu mới với Anywrite không?
Không, Anywrite không cho phép tạo hoặc chỉnh sửa mẫu và loại nội dung. Nó tập trung vào việc quản lý nội dung hiện có.
Chi tiết
Mô tả gốc của tác giả
Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6251
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.