sorftime-mcp AGENTS.md

sorftime-mcp AGENTS.md is an instructions file for Codex, OpenCode from ccchenhuohuo/sorftime-mcp. It costs 1,732 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working on the Sorftime MCP project. MCP is a standard way for an agent to use external tools; the file also defines the project’s API, command-line tool, and research-skill rules.

In plain words
What is it for?
Guiding implementation work, routing research requests, preserving endpoint contracts, and checking deployment or production changes.
Why use it?
It tells an agent which project files and boundaries to follow before changing code, including authorization and safety rules.

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

Made for: Codex, OpenCode.

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 sorftime-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ccchenhuohuo/sorftime-mcp/agents-md.svg)](https://agentmods.dev/instructions/ccchenhuohuo/sorftime-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ccchenhuohuo/sorftime-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ccchenhuohuo/sorftime-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,732 This file is loaded in full into every session.
When invoked 1,732 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.1 $0.01732 $0.01732
Opus 5 $0.00866 $0.00866
Sonnet 5 $0.00346 $0.00346
Haiku 4.5 $0.00173 $0.00173

Measured 5d ago against content hash 1de5cc51584b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

sorftime-mcp 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 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.

AGENTS.md · 140 lines

How it starts

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

Codex project instructions

This file is the authoritative development guide for coding agents working in this repository. The root README.md is written for repository users and operators; it is not a substitute for these instructions.

Mission

Maintain a governed Sorftime data service with one deterministic API core and three adapters:

  • MCP is the team-facing execution, identity, audit, rate-limit, and policy boundary;
  • the Sorftime Research Skill is the Host-side routing and interpretation protocol;
  • the CLI is the administrator/developer surface for complete endpoint access, diagnostics, batch work, and emergency operations.

Probabilistic language understanding must end before endpoint authorization and execution begin.

Start here

Read the smallest relevant set before changing code:

  • architecture or adapter boundaries: docs/architecture.md;
  • MCP/Skill behavior: docs/mcp-skill-integration.md and skills/sorftime-research/SKILL.md;
  • deployment, authentication, secrets, or production readiness: docs/deployment.md;
  • endpoint contracts: src/endpoints.ts and src/core/governance.ts;
  • MCP tools: src/mcp/server.ts;
  • CLI behavior: README.md and src/cli.ts.

Compatibility baseline

  • package, MCP contract, and governance policy: 1.0.0;
  • endpoint registry: 52 Sorftime endpoints;
  • ordinary MCP surface: 4 tools, free and read-only only;
  • optional admin MCP surface: 2 tools, still free and read-only;
  • Skill: sorftime-research, compatible with MCP 1.0.x;
  • runtime: Node.js 20+, TypeScript, MCP SDK v1, Streamable HTTP and stdio.

Non-negotiable invariants

  1. Never commit or print a real Sorftime Account-SK, MCP API key, proxy secret, Authorization header, or raw credential file.
  2. src/core/governance.ts must classify all 52 endpoints. MCP authorization never parses the human cost string.
  3. The initial MCP policy exposes only billing=free, effect=read, explicitly allowlisted endpoints.
  4. Paid reads, Coin-charged calls, task creation, updates, subscriptions, and deletes are not MCP tools.
  5. MCP never exposes raw_call or arbitrary endpoint/body passthrough. Raw access remains CLI-only for operators.
  6. User/tenant/role identity comes only from authenticated transport context. Tool inputs must never select or override identity.
  7. Stdio has no employee authentication; bind one principal at process launch and document it as local/operator mode.
  8. Audit records may contain actor, tenant, tool, endpoint names, marketplace, fingerprints, timing, decision, and outcome. They must not contain complete arguments, keywords, ASIN lists, headers, tokens, or upstream payloads.
  9. A free endpoint reporting positive RequestConsumed opens the billing circuit. Do not continue automatically.
  10. MCP retries remain zero. A lost response must not duplicate paid work; paid work is unavailable in MCP regardless.
  11. Preserve exact documented wire casing (ASIN, Asin, Asins, Querystartdt). Do not normalize payload keys at the shared-client boundary.
  12. Upstream unknown schemas remain JSON. Do not invent field meanings or present missing/unavailable values as zero.
  13. Shared quota is account-global, never an employee allowance. Per-person activity comes from MCP audit, not Sorftime balance fields.
  14. The Skill must not invoke the CLI, request credentials, invent identifiers, silently substitute stale monitoring for paid realtime data, or infer causality.
  15. CLI completeness must not weaken MCP policy. CLI and MCP share the API core, not the same public command surface.
  16. HTTP production/non-loopback mode must authenticate, restrict Hosts, validate Origins when present, cap sessions/concurrency, and keep the Account-SK server-side.
  17. MCP output and errors must remain sanitized. Unexpected upstream payloads never appear in public error details.
  18. Do not add experimental MCP Tasks for Sorftime async APIs until ownership, identity binding, TTL, persistence, and polling policy are designed and tested.

Read the full file on GitHub · 140 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 · 140 lines · 1,732 tokens per session scan A 1de5cc51584b

Subscribe to this mod's changes

sorftime-mcp AGENTS.md is an instructions file published in the GitHub repository ccchenhuohuo/sorftime-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 1,732 tokens to every session, about $0.0087 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-31.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens