bagua

bagua is a skill for Claude Code, Codex from Wondermonger-daydreaming/claude-skills-library. It costs 189 tokens per session (3,298 once invoked), scanned A, original, MIT.

A thinking framework based on the eight-part Bagua diagram from Chinese philosophy, used to map a wider situation instead of treating it as a choice between two sides.

In plain words
What is it for?
Use it to examine complex systems, map opposing forces, identify the broader structure of a problem, and locate a situation within that field.
Why use it?
It helps expose missing positions and relationships when a problem seems like a false either-or. The input describes it as a way to shape thinking rather than a set of literal instructions.

Skill for Claude CodeCodex

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

Good fit Use it to examine complex systems, map opposing forces, identify the broader structure of a problem, and locate a situation within that field.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wondermonger-daydreaming/claude-skills-library/bagua
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 Wondermonger-daydreaming/claude-skills-library --skill bagua
Clone the repo
git clone --depth 1 https://github.com/Wondermonger-daydreaming/claude-skills-library

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 bagua

README.md
[![agentmods](https://agentmods.dev/badge/skills/wondermonger-daydreaming/claude-skills-library/bagua/github.svg)](https://agentmods.dev/skills/wondermonger-daydreaming/claude-skills-library/bagua)
Your own site
<a href="https://agentmods.dev/skills/wondermonger-daydreaming/claude-skills-library/bagua"><img src="https://agentmods.dev/badge/skills/wondermonger-daydreaming/claude-skills-library/bagua/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 bagua

Your own site · 80×15
<a href="https://agentmods.dev/skills/wondermonger-daydreaming/claude-skills-library/bagua"><img src="https://agentmods.dev/badge/skills/wondermonger-daydreaming/claude-skills-library/bagua.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,298 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.00189 $0.03298
Opus 5 $0.00095 $0.01649
Sonnet 5 $0.00038 $0.00660
Haiku 4.5 $0.00019 $0.00330

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

Security

Grade A, and why

bagua 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 12d 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.

skills/bagua/SKILL.md · 184 lines

How it starts

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

Bagua (八卦) — The Octagonal Eigenprompt

What this is

An eigenprompt is a compressed cosmogram used to shape the phase space a model operates in, rather than to instruct it. The technique was developed by Danielle Fong as taijitsu eigenprompts — ASCII-rendered taiji diagrams with embedded hierarchy operators, used to prevent models from groove-matching on literal-prose instructions. The move: replace description-of-the-thing with shape-of-the-thing, and let the model reach from the shape rather than match on a precedent pattern.

This skill proposes a sibling: the Pre-Heaven Bagua (先天八卦, Fu Xi's arrangement) as an eigenprompt for a different cognitive mode.

The Taijitu affords dynamic complementarity — two poles, each containing the seed of its opposite, flowing into each other. It is the shape of dialectical motion. Its cognitive signature is: hold both, let them metabolize each other, find the seed of the other within each.

The Bagua affords static balanced opposition — eight positions in octagonal symmetry, each defined by its cross-center opposite. It is the shape of structural mapping. Its cognitive signature is: refuse the dyad, name the full field, locate what the terms are actually opposite to.

These are not substitutes. They are different tools for different occasions.

When to deploy this instead of Taijitu

Use Bagua when:

  • Someone presents a two-term tension that feels miscast, and the Taijitu-move of "finding the seed of each in the other" would paper over the miscasting rather than correct it
  • The honest move is to name what each term is actually opposite to, which will reveal the two presented terms as adjacent rather than opposed
  • Holding multiple incommensurable positions matters more than synthesizing them — when synthesis would be premature or dishonest
  • The task is structural (mapping a field) rather than dialectical (metabolizing a tension)
  • You notice yourself reaching for the Taijitu-groove of complementarity and suspect it has become its own default

Read the full file on GitHub · 184 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. 12d ago First seen · 184 lines · 189 tokens per session scan A 2da8d097b0d8

Subscribe to this mod's changes

bagua is a skill published in the GitHub repository Wondermonger-daydreaming/claude-skills-library (6 stars, last pushed 2mo ago), licensed MIT. It adds 189 tokens to every session and 3,298 once invoked, about $0.0009 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 skills, from other repositories

skill-builder

Automatically detect source types and build AI skills using Skill Seekers. Use when the user wants to create skills from documentation, repos, PDFs, videos, or other knowledge sources.

yusufkaraaslan/Skill_Seekers · 38 tokens

offensive-advanced-redteam

Comprehensive red team operations methodology covering full engagement lifecycle from planning through reporting. Addresses engagement scoping and rules of engagement negotiation, multi-tier C2 infrastructure design with redirectors and domain fronting, malleable traffic profiles and beacon tradecraft, OPSEC…

SnailSploit/Claude-Red · 146 tokens

offensive-crypto-attacks

Systematic methodology for identifying and exploiting cryptographic implementation weaknesses in real-world applications. Covers padding oracle attacks against CBC-mode ciphers with PKCS7 padding (Vaudenay's original attack through modern padbuster automation), ECB mode exploitation including block cut-and-paste and…

SnailSploit/Claude-Red · 261 tokens

offensive-c2-frameworks

Command and Control framework deployment, configuration, and operational tradecraft for red team engagements. Covers Cobalt Strike (malleable C2 profiles, Beacon types HTTP/HTTPS/DNS/SMB, Beacon Object Files for in-memory execution, sleep and jitter tuning, named pipe pivoting), Sliver (implant generation across…

SnailSploit/Claude-Red · 250 tokens

offensive-dependency-confusion

Deep-dive offensive methodology for dependency confusion and namespace attacks across all major package ecosystems. Covers npm scope confusion exploiting the gap between public and private scoped packages and .npmrc misconfigurations where registry mappings fail to pin internal scopes exclusively. Addresses PyPI…

SnailSploit/Claude-Red · 234 tokens

offensive-parameter-pollution

HTTP parameter pollution (HPP) checklist: duplicate parameter injection, backend vs frontend parsing differences, WAF bypass via HPP, server-side vs client-side HPP, and practical exploitation patterns. Use when testing web applications for parameter handling flaws.

SnailSploit/Claude-Red · 0 tokens