kimi-plugin-cross-platform AGENTS.md

kimi-plugin-cross-platform AGENTS.md is an instructions file for Codex, OpenCode from luhfilho/kimi-plugin-cross-platform. It costs 1,577 tokens per session, scanned A, original, MIT.

Repository instructions for a cross-platform Node.js toolkit that lets several coding command-line tools delegate work to the Kimi command-line tool.

In plain words
What is it for?
Running all tests or one test, checking end-to-end behavior, and previewing or performing adapter installations.
Why use it?
It records the project’s commands and testing rules so contributors can work consistently without guessing how to run checks or install adapters.

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/luhfilho/kimi-plugin-cross-platform/agents-md
Clone the repo
git clone --depth 1 https://github.com/luhfilho/kimi-plugin-cross-platform

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 kimi-plugin-cross-platform AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/luhfilho/kimi-plugin-cross-platform/agents-md.svg)](https://agentmods.dev/instructions/luhfilho/kimi-plugin-cross-platform/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/luhfilho/kimi-plugin-cross-platform/agents-md"><img src="https://agentmods.dev/badge/instructions/luhfilho/kimi-plugin-cross-platform/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,577 This file is loaded in full into every session.
When invoked 1,577 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.01577 $0.01577
Opus 5 $0.00788 $0.00788
Sonnet 5 $0.00315 $0.00315
Haiku 4.5 $0.00158 $0.00158

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

Security

Grade A, and why

kimi-plugin-cross-platform 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 83 lines

How it starts

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

AGENTS.md

This file provides guidance when working with code in this repository.

What this is

kimi-plugin-cross-platform — a cross-platform kit that lets three host CLIs (Claude Code, Codex CLI, Antigravity CLI) delegate work to the Kimi CLI (Moonshot AI) for code review, "rescue" tasks, and background jobs. Pure Node.js (ESM, >=20), npm workspaces, no build step, no runtime dependencies.

Commands

npm test                  # all tests (node --test via custom runner)
npm run test:unit         # unit tests only (tests/unit/)
npm run test:integration  # integration tests only (tests/integration/)
npm run test:adapters     # adapter tests (tests/adapters/)

# Run a single test FILE
node --test tests/unit/wire-client.test.mjs
# Run a single test CASE within a file (pattern matches the it()/test() name)
node --test --test-name-pattern="renders review findings" tests/unit/render.test.mjs

node scripts/test-e2e.mjs           # end-to-end suite (uses fake-kimi fixture)
node scripts/install.mjs --all      # install adapters into ~/.claude, ~/.codex, ~/.antigravity
node scripts/install.mjs --dry-run  # preview install actions without writing
  • Lint/format are NOT configurednpm run lint/npm run format are placeholder echos. Do not assume a linter exists.
  • CI (.github/workflows/ci.yml) runs test:unit, test:integration, and test:adapters on Node 20 and 22. It does not run e2e.

Do not "simplify" the test runner

scripts/run-tests.mjs is a hand-rolled runner that walks directories and passes explicit test file paths to node --test. It exists specifically to work around shell glob-expansion differences across platforms and to avoid executing helper fixtures as top-level tests — replacing it with node --test tests/**/*.mjs will break CI on some shells. Leave it in place.

Architecture

Two layers. The split is the most important thing to understand:

core/src/          ← the ONLY runtime logic. Host-agnostic. Change behavior here.
adapters/<host>/   ← thin wrappers (commands, skills, agents, prompts). No business logic.

Read the full file on GitHub · 83 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 · 83 lines · 1,577 tokens per session scan A bec4e4c3a4fa

Subscribe to this mod's changes

kimi-plugin-cross-platform AGENTS.md is an instructions file published in the GitHub repository luhfilho/kimi-plugin-cross-platform (1 stars, last pushed 3mo ago), licensed MIT. It adds 1,577 tokens to every session, about $0.0079 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

ai-driven-development AGENTS.md

AGENTS.md instructions for CodeAlive-AI/ai-driven-development, covering ai-driven development — development guide, git publishing defaults, when to create tags and releases, requires a new tag/release and does not require a new tag/release.

CodeAlive-AI/ai-driven-development · 1,110 tokens

llm-engineering-skills CLAUDE.md

Claude Code instructions for itsmostafa/llm-engineering-skills, covering claude.md, repository purpose, repository files, skill structure and skill.md requirements.

itsmostafa/llm-engineering-skills · 524 tokens

TechShorts AGENTS.md

AGENTS.md instructions for LarsenCodeLabs/TechShorts, covering repository structure, core product constraints, development and verification, security and configuration and solana/anchor protocol rules.

LarsenCodeLabs/TechShorts · 850 tokens

cross-cli-handshake AGENTS.md

AGENTS.md instructions for jpbaking/cross-cli-handshake: Follow the Portable Agent Authoring guides for harness discovery and persistent instructions.

jpbaking/cross-cli-handshake · 146 tokens

IDE-Adapter CLAUDE.md

Instructions for godstale/IDE-Adapter, covering claude.md, commands, architecture, adding a new handler and protocol rules.

godstale/IDE-Adapter · 1,398 tokens

ai-driven-development CLAUDE.md

Claude Code instructions for CodeAlive-AI/ai-driven-development, a project described as: Practices, protocols, and skills for AI-driven software development. Skills and safety hooks for Claude Code, Codex, OpenCode, Cursor, Antigravity, and any agent supporting the Agent Skills standard.

CodeAlive-AI/ai-driven-development · 5 tokens