Agent skill

Anytype API

by anyproto in anyproto/anytype-heart

Call Anytype's local HTTP API v2 directly — search, read, create and edit objects, queries, collections and chats over REST.

Custom licenceAuto-check passedBackend & APIs

Install Anytype API

skills CLI
$ npx skills add anyproto/anytype-heart --skill anytype-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install anyproto/anytype-heart anytype-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/anyproto/anytype-heart.git skills-src && mkdir -p .claude/skills && cp -r skills-src/core/api/v2 .claude/skills/anytype-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
anytype-api
GitHub stars
424
Token cost
~6.8k tokens
SKILL.md length
3,424 words
Files
176
Skills in repo
2
Repo updated
First seen
Licence
Custom licence

At a glance

Call Anytype's local HTTP API v2 directly — search, read, create and edit objects, queries, collections and chats over REST.

  • Writing scripts
  • SKILL.md covers The data model in six ideas, Which operation, Read cheaply and Edit: PATCH ops, plus 6 more sections
  • Runs Go scripts from its folder
  • Curl against the API

What it does

Anytype API is an agent skill from anyproto/anytype-heart. Call Anytype's local HTTP API v2 directly — search, read, create and edit objects, queries, collections and chats over REST. Use when writing scripts, SDK code or curl against the API. For interactive note/task work prefer the anytype CLI and its skill (cmd/anytype/SKILL.md); this guide is the raw-HTTP layer beneath it.

Its SKILL.md is about 6.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 176 other files.

It sits in Backend & APIs, covering REST APIs. The repository describes itself as: Shared library for Anytype clients.

When your agent uses it

  • Writing scripts
  • Curl against the API

Example prompts

  • “/anytype-api”

What it can do on your machine

Read from SKILL.md and the folder at commit 4028f83. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Go, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Anytype API loads about 6.8k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 3,424 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~6.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 3,424 words (~6,750 tokens).

“Local REST API at http://127.0.0.1:31009 (the Anytype app must be running). Every call sends Authorization: Bearer ; keys are created in the app (Settings → API keys) — the API mints none. Bodies are compact JSON, and every name this…”

— opening of SKILL.md by anyproto, Custom licence
name
anytype-api

Read the full SKILL.md on GitHub

Files

SKILL.md and 175 other files in core/api/v2 of anyproto/anytype-heart.

  • SKILL.md
  • authz.go
  • authz_test.go
  • doc.go
  • handler/chat.go
  • handler/chat_space_stream.go
  • handler/chat_space_stream_test.go
  • handler/chat_status.go
  • handler/chat_status_test.go
  • handler/chat_stream.go
  • handler/chat_stream_test.go
  • handler/chat_test.go
  • handler/create.go
  • handler/create_test.go
  • handler/discovery.go
  • handler/discovery_test.go
  • handler/discussion.go
  • handler/discussion_test.go
  • handler/echo_refs_test.go
  • handler/edit.go
  • … and 156 more

Open the folder on GitHubat commit 4028f83

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in anyproto/anytype-heart, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Anytype API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Anytype API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Anytype API this skillanyproto/anytype-heart424—~6.8kAutomated safety check: PassCustom licence
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
Paperclippaperclipai/paperclip99k—~9.6kAutomated safety check: PassMIT
Nodejs Backend Patternsever-works/ever-works15818 repos~4kAutomated safety check: PassAGPL-3.0
OpenAPI to MCP Servermcp-use/mcp-use11k—~5.2kAutomated safety check: PassApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT

Similar skills

  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Paperclip

    paperclipai/paperclip

    Interact with the Paperclip control plane API for task coordination and governance.

    99k GitHub stars~9.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    158 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Covers the RuView `wifi-densepose` command line binary, its Axum REST API and the WebAssembly builds for browsers and ESP32, for embedding or scripting RuView.

    97k GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check: notes

More from anyproto/anytype-heart

  • Anytype

    anyproto/anytype-heart

    Read, search, create and edit Anytype objects through the anytype CLI.

    424 GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Categories

Questions about Anytype API

What does Anytype API do?

Call Anytype's local HTTP API v2 directly — search, read, create and edit objects, queries, collections and chats over REST. Anytype API is an agent skill from anyproto/anytype-heart. Call Anytype's local HTTP API v2 directly — search, read, create and edit objects, queries, collections and chats over REST.

When should I use Anytype API?

Anytype API fits situations like: writing scripts; curl against the API.

How do I install Anytype API in Claude Code?

Run `npx skills add anyproto/anytype-heart --skill anytype-api -a claude-code`. Or copy the skill folder (core/api/v2 in anyproto/anytype-heart) into .claude/skills/anytype-api in your project. Claude Code loads it when a task matches its description.

How do I install Anytype API in Codex?

Run `npx skills add anyproto/anytype-heart --skill anytype-api -a codex`. Or copy the skill folder (core/api/v2 in anyproto/anytype-heart) into .agents/skills/anytype-api in your project. Codex loads it when a task matches its description.

Can I use Anytype API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anyproto/anytype-heart --skill anytype-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anytype-api, .gemini/skills/anytype-api, .github/skills/anytype-api and .opencode/skills/anytype-api in your project.

What does Anytype API need to run?

Going by SKILL.md and its folder, Anytype API needs Go for the scripts in its folder.

Does Anytype API access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Anytype API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Anytype API use?

Anytype API has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Anytype API use?

About 6.8k tokens (SKILL.md is roughly 27k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Anytype API?

Skills that share tags, products or a category with Anytype API: API Designer (Jeffallan/claude-skills, 12k stars), Paperclip (paperclipai/paperclip, 99k stars), Nodejs Backend Patterns (ever-works/ever-works, 158 stars) and OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Anytype API?

anyproto (a GitHub organization) maintains it in anyproto/anytype-heart, which has 424 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.

Source: anyproto/anytype-heart on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.