retyc-cli: Instructions file for Claude Code

CLAUDE.md

retyc-cli CLAUDE.md is an instructions file for Claude Code from retyc/retyc-cli. It costs 4,655 tokens per session, scanned A, original, MIT.

Project instructions for retyc-cli, a Go command-line tool for the RETYC platform that manages authentication, file transfers, data rooms, and an MCP server.

In plain words
What is it for?
Working on CLI commands, authentication, uploads and downloads, data-room operations, MCP serving, and release version information.
Why use it?
They give agents the repository structure, build modes, and versioning rules needed to change the CLI safely.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is retyc/retyc-cli's own configuration. It tells Claude Code how to work on retyc-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything retyc-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to retyc/retyc-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/retyc/retyc-cli/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/retyc/retyc-cli

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for retyc-cli CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/retyc/retyc-cli/claude-md/github.svg)](https://agentmods.dev/instructions/retyc/retyc-cli/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/retyc/retyc-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/retyc/retyc-cli/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for retyc-cli CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/retyc/retyc-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/retyc/retyc-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,655 This file is loaded in full into every session.
When invoked 4,655 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.04655 $0.04655
Opus 5.5 $0.01862 $0.01862
Sonnet 5.5 $0.00931 $0.00931
Haiku 4.5 $0.00466 $0.00466

Measured 3d ago against content hash a2acbbc6c290, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

retyc-cli CLAUDE.md 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 3d 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.

CLAUDE.md · 288 lines

How it starts

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

CLAUDE.md — retyc-cli

Go CLI for the RETYC platform. Module: github.com/retyc/retyc-cli. Go 1.26.

This file is a map and a list of rules. Behaviour is documented for users in doc/ (commands.md, configuration.md, webdav.md, retycfs.md, mcp.md, mcpb.md, docker.md, ci-cd.md) and for developers in the code comments: read them before changing a subsystem, and update them with it. Do not copy their content here.

Layout

main.go                  # → cmd.Execute()
cmd/                     # cobra commands, flag/viper binding, output; thin adapters
  root.go                #   root flags, initConfig, PersistentPreRunE, exitCode
  common.go output.go errorjson.go   # shared helpers, --json output, error kinds
  auth.go transfer.go dataroom.go admin*.go config.go version.go
  mcp*.go                #   mcp serve (stdio) + manifest for the MCPB bundle
  fs.go                  #   `fs` group: parent of `webdav serve` and `mount`
  webdav*.go             #   WebDAV adapter over internal/vfs
  mount*.go              #   fs mount (mount_linux.go: runMount / serveMount)
  serve_common.go metastore.go observability.go   # shared by webdav serve and fs mount
internal/
  api/                   # REST client: transport.go (only http.Transport), retry.go (429),
                         #   errorcodes.go, one file per API area
  auth/                  # OIDC device flow, refresh, GetValidToken
  config/                # viper defaults, Config structs, env.go (env-only settings), envfile.go
  crypto/                # AGE helpers (PQ only)
  keyring/               # Linux session keyring cache of the decrypted identity
  service/               # business logic shared by commands and MCP (sessions, uploads, …)
  vfs/                   # file-tree service shared by WebDAV and FUSE (caches, mutations, I/O)
    metastore/           #   MetaStore interface; memstore/ (default), redisstore/ (shared)
  retycfs/               # FUSE driver (linux build tag), go-fuse v2 `fs` API
  metrics/               # Prometheus collectors of `fs mount`, all retycfs_*
  telemetry/             # OpenTelemetry tracing of `fs mount`; env.go is the only reader of OTEL_*
scripts/                 # build-mcpb.sh, benches, start-jaeger.sh, start-redis.sh,
                         #   redis-cache-dump (diagnostic, not released)

Read the full file on GitHub · 288 lines

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. 3d ago Changed · +1 lines · +38 tokens per session a2acbbc6c290
  2. 22d ago Changed · -492 lines · -8,106 tokens per session 99e39990b19e
  3. 23d ago Changed · +10 lines · +255 tokens per session 5876d0668522
  4. 25d ago Changed · +119 lines · +2,618 tokens per session 8260b2f4749d
  5. 1mo ago Changed · +7 lines · +127 tokens per session 2fc936f909fc
  6. 1mo ago Changed · +32 lines · +664 tokens per session 003b2789dda3
  7. 1mo ago Changed · +4 lines · +116 tokens per session 6a0f6dae11fe
  8. 1mo ago Changed · +4 lines · +90 tokens per session 9da62f99b6d5
  9. 1mo ago Changed · +8 lines · +162 tokens per session 7d355158b3f8
  10. 1mo ago First seen · 595 lines · 8,691 tokens per session scan A 3f9e4a5e9372

Subscribe to this mod's changes

retyc-cli CLAUDE.md is an instructions file published in the GitHub repository retyc/retyc-cli (22 stars, last pushed yesterday), licensed MIT. It adds 4,655 tokens to every session, about $0.0186 per session on Opus 5.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

retyc-cli CLAUDE.md compared with instructions from other repositories

retyc-cli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retyc-cli CLAUDE.mdretyc/retyc-cliInstructions file22yesterdayMITA4,655Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode