Langsung ke konten
Skillpedia
API & server (backend)48k Β· #6251

anywrite

Fungsinya

Anywrite adalah alat yang memungkinkan Anda mengendalikan aplikasi Anytype dari komputer. Anda bisa menggunakannya untuk mengatur catatan, tugas, dan konten lain di dalam Anytype, seolah-olah Anda mengetik perintah di terminal.

Kapan dipakai

  • βœ“Ketika Anda ingin membuat, memperbarui, atau mencari catatan dan tugas di Anytype.
  • βœ“Untuk mengatur konten di Anytype menggunakan tag, tipe, atau daftar.
  • βœ“Jika Anda perlu mengunggah file ke Anytype atau mengobrol di dalamnya secara otomatis.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/anywrite/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/anywrite/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat tugas bernama 'Beli roti' di Anytype.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda perlu memiliki aplikasi Anytype yang sudah terinstal dan berjalan di komputer. Lalu, Anda menggunakan Anywrite untuk mengirim perintah tertentu, seperti membuat catatan baru atau mencari sesuatu yang sudah pernah Anda simpan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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/property and let the CLI resolve them to ids.
  • βœ… Use default JSON output for scripting and --pretty for human review.
  • βœ… Reach for --json when 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/remove to 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 --body on create but --markdown on update.

Security & Safety Notes

  • The API key is stored locally in ~/.anywrite/config.json and is never printed by any command, including auth --status.
  • Config precedence at runtime: ANYTYPE_API_KEY env 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, never 410.

Common Pitfalls

…

Pertanyaan umum

Apakah saya perlu menginstal sesuatu yang terpisah untuk menggunakan Anywrite?

Ya, Anda perlu mengunduh dan menginstal Anywrite secara terpisah. Alat ini tidak disertakan dalam Anytype.

Apakah Anywrite mengirim data saya ke tempat lain?

Tidak, semua operasi dilakukan langsung di komputer Anda selama Anytype berjalan secara lokal. Tidak ada data yang dikirim ke server eksternal.

Bisakah saya membuat tipe konten atau template baru dengan Anywrite?

Tidak, Anywrite tidak mendukung pembuatan atau pengubahan template dan tipe konten. Alat ini berfokus pada pengelolaan konten yang sudah ada.

Detail

Deskripsi asli dari pembuat

Compiled CLI covering all 52 endpoints of the Anytype local API β€” objects, properties, tags, search, chat, files β€” one binary, no MCP server needed.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#6251
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa