sorftime-mcp: Instructions file for Codex

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

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Codex.

This is ccchenhuohuo/sorftime-mcp's own configuration. It tells Codex and OpenCode how to work on sorftime-mcp 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 sorftime-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ccchenhuohuo/sorftime-mcp. 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/ccchenhuohuo/sorftime-mcp/main/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/github.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/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 sorftime-mcp AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.01732 $0.01732
Opus 5.5 $0.00693 $0.00693
Sonnet 5.5 $0.00346 $0.00346
Haiku 4.5 $0.00173 $0.00173

Measured 2mo ago against content hash 1de5cc51584b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 4mo ago), licensed MIT. It adds 1,732 tokens to every session, about $0.0069 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-31.

Related

sorftime-mcp AGENTS.md compared with instructions from other repositories

sorftime-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sorftime-mcp AGENTS.mdccchenhuohuo/sorftime-mcpInstructions file14mo agoMITA1,732Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot