metago-yijing

metago-yijing is a skill for Claude Code, Codex from metago-ai/metagolifeform. It costs 40 tokens per session (552 once invoked), scanned A, original, MIT.

A state-transition model based on the I Ching, a traditional Chinese text whose 64 hexagrams are made from six changing lines. It maps six thresholded indicators to a state, then calculates related states after line changes and rearrangements.

In plain words
What is it for?
Use it to turn six yes-or-no-style indicators into a hexagram state and produce a report of possible state transitions. It can support scenario discussion, not reliable prediction or regulated decisions.
Why use it?
It gives an agent a reproducible structure for exploring how a set of indicators could move between modeled states. The state calculations are fixed, but any interpretive advice is explicitly heuristic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn six yes-or-no-style indicators into a hexagram state and produce a report of possible state transitions. It can support scenario discussion, not reliable prediction or regulated decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metago-ai/metagolifeform/metago-yijing
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.

Any agent
npx skills add metago-ai/metagolifeform --skill metago-yijing
Clone the repo
git clone --depth 1 https://github.com/metago-ai/metagolifeform

Made for: Claude Code, Codex.

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 metago-yijing

README.md
[![agentmods](https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-yijing/github.svg)](https://agentmods.dev/skills/metago-ai/metagolifeform/metago-yijing)
Your own site
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-yijing"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-yijing/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 metago-yijing

Your own site · 80×15
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-yijing"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-yijing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 552 The whole file, excluding the scripts and references it only reads on demand.
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.00040 $0.00552
Opus 5.5 $0.00016 $0.00221
Sonnet 5.5 $0.00008 $0.00110
Haiku 4.5 $0.00004 $0.00055

Measured today against content hash 24f8de4ea5ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

metago-yijing 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 today.

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.

skills/metago-yijing/SKILL.md · 33 lines

What it actually says

metago-yijing

方法

  1. 指标二值化:6 维指标(≥阈=1)→ 六位状态向量
  2. 起卦:metago-shushu yijing (seeded 可复现)
  3. 推演:本卦 → 变卦(动爻翻转)→ 互卦(2-5爻)→ 错卦 → 综卦
  4. 报告:《态势推演报告》客观结构 100% 确定 + 断辞启发式

卦表

64 卦全表(八宫/通行本序/卦辞)在 lib/yijing.js;384 爻辞在 data/yaoci.js

输出示例

本卦: 山天大畜(111001)动爻: 六四 变卦: 火天大有 互卦: 雷泽归妹


合规红线(所有易理技能通用)

  1. 一切断言 = 启发式标签 + 置信度 + 规则编号,禁止无据断言
  2. 不用于医疗/投资/法律等受监管决策替代(A36)
  3. 输出含免责声明段;避封建迷信表述
  4. 引擎:本环境的 yili MCP 服务器(14 个工具)——shushu_almanac 历法 / bazi_calc 四柱 / liuyao_divine 六爻 / qimen_calc 奇门 / ziwei_calc 紫微 / taiyi_calc 太乙 / yijing_divine 周易 / hetu_luoshu 河图洛书 / wuxing_analyze 五行 / shushu_diagnose 象数诊断 / shushu_calculus 文言微积分 / shushu_zeri 择日 / ganzhi_convert 干支 / shushu_info 引擎元数据
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. today Changed · +7 lines 24f8de4ea5ee
  2. 2d ago First seen · 26 lines · 40 tokens per session scan A cd6035dc5988

Subscribe to this mod's changes

metago-yijing is a skill published in the GitHub repository metago-ai/metagolifeform (5 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 552 once invoked, about $0.0002 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-10-25.

Related

Other skills, from other repositories

todo-for-ai-agent-runtime

Runtime integration skill for external agents connecting to Todo for AI over HTTP API Token / Agent Key, including auth, task lease, events, commit, and task logs.

todo-for-ai/todo-for-ai · 39 tokens

karpathy-guidelines

Tool-agnostic behavioral guidelines for AI coding assistants. Use when writing, reviewing, debugging, or refactoring code to reduce overengineering, surface ambiguity, make surgical changes, and define verifiable success criteria.

Vincent-A-Yang/karpathy-skills-anycoding · 47 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

loop-engineering

Shared loop-engineering reference for COG skills - the agent loop, deterministic verifiers, termination conditions, in-loop context management, and named patterns. Invoke when designing or debugging a skill that iterates (search-verify-retry, scan-until-dry, fetch-retry-gate).

huytieu/COG-second-brain · 63 tokens

qa-knowledge

To run QA engineering — requirements/gap analysis, scenario & spec design, test implementation, failure triage — over the QA knowledge base.

griddynamics/rosetta · 32 tokens