anytype-setup

A setup guide for connecting a coding agent to Anytype, a desktop knowledge and notes app, through its command-line tools or a server connection.

In plain words
What is it for?
Use it to install and configure Anytype access, choose a connection endpoint, recover failed connections, and create a separate limited-access account.
Why use it?
It explains authentication, connection recovery, and how to restrict which Anytype spaces the agent can access. This helps avoid exposing unrelated personal or team content.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/stevelr/anytype/anytype-setup
Any agent
npx skills add stevelr/anytype --skill anytype-setup
Clone the repo
git clone --depth 1 https://github.com/stevelr/anytype

Made for: Claude Code, Codex.

Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.00755
Opus 5 $0.00025 $0.00378
Sonnet 5 $0.00010 $0.00151
Haiku 4.5 $0.00005 $0.00076

Measured 2d ago against content hash f20b6508de8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

anytype-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/skills/anytype-setup/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Anytype connection setup

Use this skill to install anyr, authenticate, select a backend, or recover a failed connection. It establishes one connection profile at a time. Use the anyr skill for direct CLI work after the connection is healthy, and any-mcp when a configured MCP connection advertises the required tool.

Choose the data boundary

When the user wants to limit the Anytype data available to a model, recommend a dedicated Anytype CLI account on a headless server. Invite that account only to a purpose-built sharing space. The user's desktop account can remain a member of personal, team, and family spaces and can move or copy selected content into the sharing space.

Space membership is the access boundary. Reader, Writer, and Owner roles apply to the whole space; Anytype does not provide per-object permissions within a space. Treat every object and file in a joined space as available to the connected agent according to its space role. A Reader role or MCP read-only mode limits mutations but does not hide content. Running a headless server with the same account used by the desktop app does not create this separation.

Installing an executable changes the user's machine. Check for an existing executable first. If it is absent, present the supported methods and obtain approval for one method and an exact version before installing. Do not select latest, execute a remote installer script, use a fork or mirror, extract an unverified archive, or continue after a checksum, attestation, or native code signature failure.

Choose the backend before writing credentials:

  • Desktop uses its HTTP endpoint and interactive login. It does not supply headless gRPC credentials. Its account can expose every space already available to that account.
  • Headless uses the Anytype CLI service for both HTTP and gRPC. Initialize it from that service without creating a new account when one already exists, unless the operator is deliberately provisioning a separate account for the sharing-space boundary.

Read the full file on GitHub · 65 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 65 lines · 50 tokens per session scan A f20b6508de8a

Subscribe to this mod's changes

anytype-setup is a skill published in the GitHub repository stevelr/anytype (32 stars, last pushed 2d ago), licensed Apache-2.0. It adds 50 tokens to every session and 755 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

my-wiki

Manage local OKF-compatible Markdown My Wiki vaults with an AI agent. Use for capturing webpages, PDFs, Office documents, notes, images, folders, and ZIP bundles as References; maintaining Reference-to-Concept evidence links; searching or answering from a vault; checking or repairing vault health; switching among…

NimaChu/my-wiki · 78 tokens

update-changelog

Update Starcat changelog documents in supports/starcat-pro/ by reading ALL git commits from the main Starcat project and generating categorized release notes in both English and Chinese. Use this skill whenever the user wants to update changelog, release notes, update records, or sync the changelog with recent…

starcat-app/Starcat · 96 tokens

moore-wechat-article-downloader

统一入口优先。wizard 返回以下 gate 时按表处理,不要立刻降级为底层命令:.

Moore-developers/moore-wechat-article-downloader · 76 tokens

starcat-localization-sync

Starcat 本地化生产、同步与发布门禁流程。用于同步 Localizable.xcstrings 与 supports/starcat-localization 的 xcloc、生成或修复 AI 初稿、人工审核或维护者明确接受 AI 翻译、导入已批准翻译、审计 18 种语言、调整 draft/released、扩展 AppLocale,以及排查 key、状态、占位符、技术字面量、UI 或 RTL 问题。.

starcat-app/Starcat · 105 tokens

starcat-release

Starcat macOS App 专用双渠道发版流程。用于用户要发布或排查 App Store archive、Direct 分发、DMG 打包、Sparkle appcast 生成或上传、starcat.ink 官网与 changelog 部署、notarization、公版 tag 处理,或询问 scripts/package-appstore.sh、scripts/release-direct.sh、scripts/package-direct.sh、legacy release-store.sh 应该如何选择和运行的场景。.

starcat-app/Starcat · 100 tokens

starcat-weekly-import

从新闻摘要、项目清单、文章或其他批量文本中联网甄别并识别真实 GitHub 仓库,搜索和核验 owner/repo,向用户展示证据并在明确确认后,通过 starcat-weekly-api 批量写入 Weekly 的受控人工来源。未明确说明测试时,固定使用生产服务 https://starcat-weekly-api.fly.dev,并从 supports/starcat-weekly-api/.env 的 ADMINAPIKEYS 读取管理员 Key。用户提到 AI 情报采集、从新闻标题找 GitHub 项目、从文本找 GitHub 地址、批量录入 Starcat Weekly、解析项目清单或补全缺失仓库链接时使用。.

starcat-app/Starcat · 157 tokens