trident-mcp: Instructions file for Codex

AGENTS.md

trident-mcp AGENTS.md is an instructions file for Codex, OpenCode from mordor-forge/trident-mcp. It costs 1,258 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Trident MCP, a Go server that helps generate 3D models through the Tripo service. They describe how to build, test, lint, and check the project.

In plain words
What is it for?
Building the server, running unit tests and static checks, reviewing changed Go files, and following the project’s provider and capability structure.
Why use it?
They give a coding agent the project’s expected verification steps and architecture when changing the code.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mordor-forge/trident-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/mordor-forge/trident-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,258 This file is loaded in full into every session.
When invoked 1,258 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.01258 $0.01258
Opus 5.5 $0.00503 $0.00503
Sonnet 5.5 $0.00252 $0.00252
Haiku 4.5 $0.00126 $0.00126

Measured 22d ago against content hash 8909da07e900, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trident-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 22d 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 · 61 lines

How it starts

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

AGENTS.md

What this is

A Go MCP server (stdio, single binary) for the Tripo 3D API v3, shipped with an agent skill as a Claude Code plugin. Everything Tripo-specific lives in the deep module internal/tripo. internal/server generates MCP tools from it. Read GLOSSARY.md for the domain words: Operation, Task, Input, Output, Artifact, Model version, Catalog.

Build and test

go build ./cmd/trident-mcp
go test ./... -count=1        # unit tests; no API key, no network
go vet ./...
golangci-lint run             # CI pins v2.14.0, default config (no .golangci.yml)
go run golang.org/x/vuln/cmd/[email protected] ./...
python3 scripts/validate-skills.py skills && scripts/validate-packaging.sh   # skill spec + plugin manifest

Install the pinned linter with go install github.com/golangci/golangci-lint/cmd/[email protected]. CI runs tests on Linux (with -race), macOS and Windows, plus lint, govulncheck, gofmt, and skill and plugin validation.

Go checks packages, not files. For one changed file, run gofmt -w <file> and go test ./<its package> -count=1. Validate Mermaid blocks in Markdown with mmdc -i block.mmd -o /tmp/out.svg.

Live API

TRIPO_API_KEY=tsk_... go test -tags=e2e -run TestE2E_ ./internal/tripo/ -v               # free calls only
TRIPO_API_KEY=tsk_... TRIPO_E2E_SPEND=1 go test -tags=e2e -run TestE2E_SpendingLifecycle ./internal/tripo/ -v -timeout 30m   # ~80 credits

The spending run checks the balance first. Run it after changing request shapes, output parsing or the Catalog, and only with the user's go-ahead, because it spends their credits. CI runs only the free e2e calls, on pushes to main.

Change recipes

  • New Tripo endpoint:
    1. Add a request type and an Operation in internal/tripo/operations.go.
    2. Add addOperation(s, tripo.X) in internal/server/server.go.
    3. Add a row in docs/MCP_TOOLS.md; TestDocs_DescribeEveryTool fails until it exists.
    4. Add a table case in internal/tripo/operations_test.go and in internal/server/server_test.go; TestServer_ListsTheWholeSurface lists every tool name.
  • New parameter: add one field. Its json tag is Tripo's exact snake_case field name (ADR-0005). Add a jsonschema description for agents, and an enum:"a,b" tag when Tripo documents a fixed set. Pointer types (*bool, *int) keep false and 0 sendable.
  • Cross-field rule (e.g. "fast needs v3.5"): add it to the Operation's check func, only when Tripo documents it. Local checks exist to fail before credits are spent.
  • New or retired model version: edit catalog in internal/tripo/catalog.go. Rejects lists the fields the version refuses, DefaultFor names the Operations it is the default for, and CatalogDate must be bumped. Retired entries are deleted rather than kept with a warning.
  • New output kind: usually nothing to do. Any *_url field in a Task's Output becomes a downloadable Artifact. Add the extension to knownFormats in download.go if detection falls back to .bin.
  • Skill change: edit skills/tripo-3d/. Keep model and price facts in its references/ with a date. The skill reads list_models for anything the Catalog already knows.

Read the full file on GitHub · 61 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. 22d ago Changed · -42 lines · -207 tokens per session 8909da07e900
  2. 2mo ago First seen · 103 lines · 1,465 tokens per session scan A c4447cc1ceab

Subscribe to this mod's changes

trident-mcp AGENTS.md is an instructions file published in the GitHub repository mordor-forge/trident-mcp (5 stars, last pushed 9d ago), licensed Apache-2.0. It adds 1,258 tokens to every session, about $0.0050 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

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

trident-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trident-mcp AGENTS.mdmordor-forge/trident-mcpInstructions file59d agoApache-2.0A1,258Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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 ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot