tene CLAUDE.md

tene CLAUDE.md is an instructions file for coding agents from tene-ai/tene. It costs 1,437 tokens per session, scanned A, original, MIT.

Repository instructions for tene, a Go command-line tool for storing secrets locally in encrypted form, with optional cloud synchronization.

In plain words
What is it for?
Use them when changing tene's CLI or shared packages, especially code involving encryption, databases, keychains, recovery, tests, linting, or releases.
Why use it?
They give contributors the project's architecture, security approach, directory layout, development rules, and testing and release expectations in one place.

Instructions file

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 instructions/tene-ai/tene/claude-md
Clone the repo
git clone --depth 1 https://github.com/tene-ai/tene

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 tene CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tene-ai/tene/claude-md.svg)](https://agentmods.dev/instructions/tene-ai/tene/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tene-ai/tene/claude-md"><img src="https://agentmods.dev/badge/instructions/tene-ai/tene/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,437 This file is loaded in full into every session.
When invoked 1,437 The same file — it is already loaded in full.
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.01437 $0.01437
Opus 5 $0.00718 $0.00718
Sonnet 5 $0.00287 $0.00287
Haiku 4.5 $0.00144 $0.00144

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

Security

Grade A, and why

tene 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 5d 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 · 137 lines

How it starts

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

Tene -- CLI Secret Manager (Open Core)

Overview

Local-first encrypted secret management CLI with optional cloud sync. Open Core model: this public repo contains the CLI + shared packages (pkg/). The private tene-cloud repo imports pkg/ for the API server and dashboard.

Rules (detailed guides)

Architecture

  • Language: Go 1.25+
  • CLI framework: cobra (spf13/cobra)
  • Local DB: modernc.org/sqlite (pure Go, no CGo)
  • Crypto: golang.org/x/crypto (XChaCha20-Poly1305, Argon2id, HKDF, X25519)
  • Keychain: zalando/go-keyring (macOS Keychain, Linux libsecret, Windows Credential Vault)
  • Recovery: tyler-smith/go-bip39 (12-word BIP-39 mnemonic)
  • Build: goreleaser + Homebrew tap
  • Test: Go testing + stretchr/testify
  • Lint: golangci-lint v2

Directory Structure

cmd/tene/              CLI entrypoint (main.go)
pkg/domain/            Domain models (User, Vault, Team, Device) -- shared with tene-cloud
pkg/crypto/            XChaCha20-Poly1305, Argon2id, HKDF, X25519 -- shared with tene-cloud
pkg/errors/            Sentinel errors and error codes -- shared with tene-cloud
internal/cli/          Cobra commands (25+ commands)
internal/vault/        SQLite vault CRUD, schema, migrations
internal/keychain/     OS keychain integration + file fallback
internal/sync/         Sync Envelope, push/pull engine, conflict resolution, 3-way merge
internal/config/       CLI + global config management
internal/recovery/     BIP-39 mnemonic generation and master key recovery
internal/claudemd/     CLAUDE.md auto-generation (5 AI editors)
internal/encfile/      Encrypted file format (header + ciphertext)
apps/web/              Next.js landing page (tene.sh, Vercel)

Shared Packages (pkg/)

Packages under pkg/ are the public API of this module, imported by github.com/tene-ai/tene-cloud:

Read the full file on GitHub · 137 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. 5d ago First seen · 137 lines · 1,437 tokens per session scan A 13435f44cfaa

Subscribe to this mod's changes

tene CLAUDE.md is an instructions file published in the GitHub repository tene-ai/tene (15 stars, last pushed 2mo ago), licensed MIT. It adds 1,437 tokens to every session, about $0.0072 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.