/productivity-automation-personal:anywritefrom productivity-automation-personal
CLI covering all 52 endpoints of the Anytype local API for objects, properties, tags, search, chat, and files. Use when working with Anytype spaces or PKM objects.
Ships in productivity-automation-personal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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.
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.
Resolve names to IDs and confirm the exact space/object before mutations; duplicate names must not select an arbitrary object. Whole-body replacements can erase content, so preserve a revision and review the complete replacement. Search requests do not authorize uploads/chat/deletes. Bound chat/search pages and payload sizes instead of using --all indiscriminately, and verify the resulting state after writes.
"/absolute/path/to/anywrite" objects create <space> --type task --name "Buy milk"
"/absolute/path/to/anywrite" objects update <space> <object_id> --status "Done"
"/absolute/path/to/anywrite" search global --query "task" --types task
"/absolute/path/to/anywrite" files upload <space> --file ./image.png
"/absolute/path/to/anywrite" chat messages <space> <chat_id> --all
space/type/property and let the CLI resolve them to ids.--pretty for human review.--json when a brand-new API field isn't yet covered by a typed flag.--icon; omit the flag entirely instead.lists add/remove to work on sets — they only apply to collections.--body on create but --markdown on update.~/.anywrite/config.json and is never printed by any command, including auth --status.ANYTYPE_API_KEY env var, then ~/.anywrite/config.json, then a read-only fallback to an existing ~/.anytype-cli/config.yaml.lists add/remove silently does nothing on a set.
Solution: These only work on collections, not sets.@docx - When the deliverable is a Word document rather than an Anytype object.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
anytype, cli, pkm, notes, api-integration, knowledge-management
npx claudepluginhub marslanalvi/skillsstack --plugin productivity-automation-personal20 skills in this plugin
/anti-sleepKeep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs./browser-bridgeInspect, control, and automate tasks in your real Microsoft Edge or Google Chrome browser via Chrome DevTools Protocol (CDP) with bilingual UI, native tab grouping, and self-healing daemon./career-opsOpen-source AI job search agent for AI coding CLIs: evaluate offers, scan portals, tailor CVs, track applications, prep interviews. Invoke per mode.Other plugins' skills for the same job