things-cloud-mcp: Instructions file for Codex

AGENTS.md

things-cloud-mcp AGENTS.md is an instructions file for Codex, OpenCode from wbopan/things-cloud-mcp. It costs 1,567 tokens per session, scanned A, original, MIT.

Repository instructions for things-cloud-mcp, a Go server that lets agents work with Things Cloud accounts through the Model Context Protocol.

In plain words
What is it for?
Use them when developing, testing, building, or reviewing the server and its Things Cloud SDK changes.
Why use it?
They document the required build checks, configuration, authentication rules, and security safeguards for account data and passwords.

Instructions file for CodexOpenCode

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

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/wenbo/things-cloud-mcp.

Reuse

Borrowing it

Nothing to install: this file belongs to wbopan/things-cloud-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/wbopan/things-cloud-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/wbopan/things-cloud-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 things-cloud-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wbopan/things-cloud-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/wbopan/things-cloud-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/wbopan/things-cloud-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/wbopan/things-cloud-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 things-cloud-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wbopan/things-cloud-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/wbopan/things-cloud-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,567 This file is loaded in full into every session.
When invoked 1,567 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01567 $0.01567
Opus 5.5 $0.00627 $0.00627
Sonnet 5.5 $0.00313 $0.00313
Haiku 4.5 $0.00157 $0.00157

Measured 2mo ago against content hash c9a628790b8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

things-cloud-mcp 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 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.

Makes network callslowCapability

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

Use `THINGS_BASIC_AUTH` for local curl examples; never place an email/password or encoded credential in source files, shell history, or logs.
AGENTS.md · 88 lines

How it starts

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

AGENTS.md

Build and test

Use the Go toolchain on PATH (on the current macOS workstation it is /opt/homebrew/bin/go).

go test ./...
go test -race ./...
go vet ./...
go build ./...

Run the same four checks in things-cloud-sdk/ after SDK changes. The server defaults to port 8080.

Environment variables:

  • PORT: HTTP port.
  • DATA_DIR: SQLite and credential-key directory (default data/).
  • JWT_SECRET: base64 JWT signing key; generated when absent.
  • CREDENTIALS_SECRET: durable high-entropy secret used to derive the AES key for Things passwords at rest. When absent, the server creates DATA_DIR/credentials.key with mode 0600.
  • THINGS_DEBUG: SDK debug logging.

Architecture and safety invariants

The single-package Go MCP server is in main.go, oauth.go, and landing.go. Requests authenticate with Basic credentials or OAuth bearer tokens. UserManager creates a per-account ThingsMCP; the cache binds an account to a digest of the authenticated credentials, never just an email address.

Key SDK types from github.com/arthursoares/things-cloud-sdk:

  • Task.CreationDate is time.Time; ScheduledDate, DeadlineDate, and CompletionDate are pointers.
  • TaskType: 0 task, 1 project, 2 heading. TaskStatus: 0 pending, 2 canceled, 3 completed.
  • TaskSchedule: 0 inbox, 1 anytime, 2 someday. Task.StartBucket: 0 default, 1 tonight (wire field sb).

Every operation for one account holds that account's opMu for the complete sync, validation, handler, and write lifecycle. Do not narrow this lock: history cursors and the in-memory task graph must advance atomically.

Synchronization is fail-closed:

  • Resolve and use the history key returned by Verify; never select the numerically largest history.
  • Initial load builds a candidate history and state, then swaps both only after every page and event validates.
  • Incremental sync uses a cloned cursor and applies a fully validated delta atomically.
  • Never automatically fall back to a full rebuild after an incremental error.
  • Reject unknown schema versions, business-entity kinds, actions, malformed payloads, cursor regression, and no-progress pagination. Versioned Settings<digits> records are the explicit exception: they are account metadata and must be ignored so settings-only version bumps cannot block the task graph.

Read the full file on GitHub · 88 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 · 88 lines · 1,567 tokens per session scan A c9a628790b8b

Subscribe to this mod's changes

things-cloud-mcp AGENTS.md is an instructions file published in the GitHub repository wbopan/things-cloud-mcp (43 stars, last pushed 1mo ago), licensed MIT. It adds 1,567 tokens to every session, about $0.0063 per session on Opus 5.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.

Related

things-cloud-mcp AGENTS.md compared with instructions from other repositories

things-cloud-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
things-cloud-mcp AGENTS.mdwbopan/things-cloud-mcpInstructions file431mo agoMITA1,567Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode