timoni AGENTS.md

A set of coding instructions for Timoni, a package manager that uses CUE templates to define and deploy applications on Kubernetes, a system for running containerized software. It explains the project structure and common commands.

In plain words
What is it for?
Use it when changing Timoni’s Go command-line code, CUE modules, Kubernetes-related files, generated files, documentation, or tests.
Why use it?
It gives a coding agent the project-specific background needed to work in the repository without first figuring out Timoni’s concepts and command layout.

Instructions file for CodexOpenCode

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/stefanprodan/timoni/agents-md
Clone the repo
git clone --depth 1 https://github.com/stefanprodan/timoni

Made for: Codex, OpenCode.

Per session 3,372 This file is loaded in full into every session.
When invoked 3,372 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.03372 $0.03372
Opus 5 $0.01686 $0.01686
Sonnet 5 $0.00674 $0.00674
Haiku 4.5 $0.00337 $0.00337

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

Security

Grade A, and why

timoni AGENTS.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 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.

AGENTS.md · 123 lines

How it starts

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

AGENTS.md

High-signal onboarding for AI coding agents working in Timoni.

What Timoni is

Timoni is a package manager for Kubernetes powered by CUE, inspired by Helm. Apps are defined as Modules (type-safe CUE templates + config schema, distributed as OCI artifacts), deployed as Instances (a module rendered with values and applied to a cluster), and composed via Bundles (multiple instances declared together). Helm analogy: module ≈ chart, bundle ≈ umbrella chart, instance ≈ release. A Runtime is the environment a bundle is applied into: it defines the target clusters and the values fetched live from cluster resources (Secrets/ConfigMaps) for injection into bundles.

Common commands

make build              # Build ./bin/timoni (CGO_ENABLED=0)
make test               # tidy + generate + fmt + vet + run all Go tests with Kubernetes envtest
make generate           # Regenerate api/v1alpha1/zz_generated.deepcopy.go via controller-gen
make cue-vet            # cue fmt + cue vet schemas, and `timoni mod vet` the example/blueprint/testdata modules
make docgen            # Regenerate docs/cmd/*.mdx from the cobra commands via `timoni docgen`

Run a single test:

go test ./cmd/timoni/... -run TestApply -v
  • make test is the canonical pre-commit gate; it runs go mod tidy, code generation, fmt, vet and golangci-lint before testing, so a clean make test implies all of those pass.
  • Tests in cmd/timoni and packages that talk to the API server require envtest (make install-envtest downloads the Kubernetes test binaries into ./bin).
  • After changing CUE schemas or example modules, run make cue-vet. The blueprint, example and testdata modules vendor the canonical schemas/timoni.sh/core/v1alpha1 package as relative symlinks under cue.mod/pkg, so schema changes propagate without a sync step. After changing types in api/v1alpha1, run make generate.

Architecture

The data flow for an apply (install/upgrade) is: fetch module → build CUE → render K8s objects → reconcile onto cluster → record inventory. Trace it through these layers:

Read the full file on GitHub · 123 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. 2d ago First seen · 123 lines · 3,372 tokens per session scan A 435fa4242127

Subscribe to this mod's changes

timoni AGENTS.md is an instructions file published in the GitHub repository stefanprodan/timoni (2,009 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,372 tokens to every session, about $0.0169 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.