spiceflow AGENTS.md

Project instructions for Spiceflow, a pre-release TypeScript framework, and its workspace-based package setup. They explain how generated README files and duplicated consumer repositories are maintained.

In plain words
What is it for?
Updating the source README, rebuilding generated README files, following documentation structure rules, and working with pnpm workspaces and monorepos, which are repositories containing multiple related packages.
Why use it?
They prevent edits to generated files from being lost and keep documentation consistent across the project.

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

Made for: Codex, OpenCode.

Per session 7,300 This file is loaded in full into every session.
When invoked 7,300 The same file — it is already loaded in full.
Security scan A 1 finding. 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.07300 $0.07300
Opus 5 $0.03650 $0.03650
Sonnet 5 $0.01460 $0.01460
Haiku 4.5 $0.00730 $0.00730

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

Security

Grade A, and why

spiceflow AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Use Node.js `fetch(baseURL + "/path")` directly (not `page.evaluate`) when you need to control HTTP headers like `Origin` — browsers restrict forbidden headers.
AGENTS.md · 463 lines

How it starts

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

spiceflow is still in pre release. ignore backwards compatibility, instead focus on making code as simple as possible

generated READMEs

The root README.md is the single source of truth. These files are generated from it and must NOT be edited directly:

  • spiceflow/README.md — generated by spiceflow/package.json build script

The website imports the root README.md directly via holocron's local import feature (website/src/index.mdx), so no copy step is needed.

Always edit the root README.md and then rebuild to propagate changes.

README content guidelines

When adding or editing content in the root README.md, follow these rules:

  • Progressive disclosure. Early sections introduce the framework to new users with simple examples. Advanced topics, edge cases, and platform-specific patterns go later in the document.
  • Prescriptive rules in toggles. Paragraphs that say ALWAYS, MUST, Never, or prescribe strict rules for agents/developers should be wrapped in <details><summary>descriptive title</summary>...</details> toggles so they don't dominate the reading flow.
  • Short headings. Keep section headings concise (3-5 words). Move explanatory content into the opening paragraph below the heading.
  • Extend existing examples. For new APIs, prefer adding them to an existing section's code examples rather than creating a new section. Only add a new ## section for a genuinely new core API or concept.
  • Think about placement. Before adding content, review the overall section hierarchy and choose the best location. Don't just append at the end — find the section where the topic fits logically.
  • Split long sections. If a ## section grows beyond ~5 paragraphs or ~3 code blocks, split it into ### subsections with short headings. Readers should never have to scroll through a wall of content under a single heading.

package manager: pnpm with workspace

This project uses pnpm workspaces to manage dependencies. Important scripts are in the root package.json or various packages package.json

Read the full file on GitHub · 463 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 · 463 lines · 7,300 tokens per session scan A 87e706706688

Subscribe to this mod's changes

spiceflow AGENTS.md is an instructions file published in the GitHub repository remorses/spiceflow (167 stars, last pushed 9d ago), licensed MIT. It adds 7,300 tokens to every session, about $0.0365 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.