triz-analysis

triz-analysis is a skill for Claude Code, Codex from d-oit/rust-2026-template. It costs 79 tokens per session (1,800 once invoked), scanned A, original, MIT.

A structured review method based on TRIZ, a problem-solving approach for finding solutions when improving one part of a system may worsen another. It is tailored to Rust codebases, workspaces, and delivery pipelines.

In plain words
What is it for?
Use it to audit Rust projects, CI workflows, async and sync designs, unsafe code boundaries, and scalability or complexity problems. Findings are written to dated Markdown files in an analysis directory.
Why use it?
It helps expose hidden trade-offs in architecture, scripts, CI, and Rust design choices instead of accepting them as unavoidable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to audit Rust projects, CI workflows, async and sync designs, unsafe code boundaries, and scalability or complexity problems. Findings are written to dated Markdown files in an analysis directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-oit/rust-2026-template/triz-analysis
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 d-oit/rust-2026-template --skill triz-analysis
Clone the repo
git clone --depth 1 https://github.com/d-oit/rust-2026-template

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 triz-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-oit/rust-2026-template/triz-analysis/github.svg)](https://agentmods.dev/skills/d-oit/rust-2026-template/triz-analysis)
Your own site
<a href="https://agentmods.dev/skills/d-oit/rust-2026-template/triz-analysis"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/triz-analysis/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 triz-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-oit/rust-2026-template/triz-analysis"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/triz-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,800 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00079 $0.01800
Opus 5.5 $0.00032 $0.00720
Sonnet 5.5 $0.00016 $0.00360
Haiku 4.5 $0.00008 $0.00180

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

Security

Grade A, and why

triz-analysis 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 24d 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/skills/triz-analysis/SKILL.md · 163 lines

How it starts

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

TRIZ Analysis — Rust Edition

Systematic innovation audit for Rust codebases, workspace architectures, and CI/CD pipelines.

Input Requirements

  • Target Scope: The specific directory, pipeline, or framework to analyze (e.g., crates/, scripts/, .github/workflows/, agent-coordination).
  • Language Focus: Rust-specific patterns (ownership, async, traits, lifetimes).

Output Convention

All agent-generated analysis must be written to analysis/ using:

analysis/triz-<scope>-YYYY-MM-DD.md

Example: analysis/triz-scripts-2026-06-18.md

Audit Process

  1. SCOPE SCAN: Examine the target scope for existing pain points or trade-offs.
  2. CONTRADICTION DISCOVERY: Identify technical contradictions: "Improving [X] in this scope causes [Y] to worsen."
  3. PRINCIPLE MAPPING: Map discovered contradictions to TRIZ inventive principles.
  4. INNOVATION ROADMAP: Propose specific Rust-idiomatic changes based on TRIZ resolutions.
  5. REPORT: Document findings in analysis/.

Core Protocol

Contradiction-First Approach

1. SCAN the scope
2. IDENTIFY contradiction: "Improving [X] causes [Y] to worsen"
3. CHECK if contradiction is real or apparent
4. RESOLVE using separation principles
5. DOCUMENT findings in analysis/

Ideal Final Result (IFR) for Rust Audits

"The ideal Rust system performs its function with minimal unsafe code, unnecessary cloning, and contention"

1. What is the ideal outcome for this scope?
2. What prevents reaching it? (current type/ownership/CI constraints)
3. Which constraints are real vs assumed?
4. Could the borrow checker enforce correctness instead of runtime checks?

Contradiction Matrix (Rust-Specific)

Improving vs Worsening → Principle Rust Pattern
Throughput vs Latency #7, #13, #17 Batching, bounded queues, workload-aware scheduling
API ergonomics vs Binary size #1, #15 Feature flags, #[cfg], trait-based DI
Compile time vs Runtime perf #13, #35 LTO off, cargo-bloat profile tuning
Safety vs Performance #12, #4 unsafe minimization, scoped SIMD
Genericity vs Compile time #2, #6 Carefully scoped generics, sealed traits
Async surface vs Blocking cost #1, #15 Workload-aware direct execution, spawn_blocking, bounded workers
Throughput vs Fairness #13, #15 Batching, bounded poll work, deliberate yield_now
Concurrency vs Resource usage #1, #35 Semaphore, bounded mpsc, worker pools
Shared state vs Contention #1, #2 Ownership/message passing, short lock scope
Build matrix vs CI minutes #1, #9 cargo-hack, workspace inheritance
Test coverage vs Test runtime #13, #35 cargo-nextest sharding, proptest shrinking

Read the full file on GitHub · 163 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago Changed · -10 lines de406a83f43f
  2. 1mo ago Changed · +24 lines 51dca1f13eec
  3. 1mo ago First seen · 149 lines · 79 tokens per session scan A 246e6398dd74

Subscribe to this mod's changes

triz-analysis is a skill published in the GitHub repository d-oit/rust-2026-template (14 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,800 once invoked, about $0.0003 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.