TraeSkill: Skill for Codex

.trae/Skills/10_Diagram_FireworksTechGraph/SKILL.md

fireworks-tech-graph is a skill for Codex from boshi-xixixi/TraeSkill. It costs 139 tokens per session (7,675 once invoked), scanned A, original, MIT.

A tool for generating technical diagrams as SVG files and exporting them as PNG images. It supports architecture, data-flow, flowchart, sequence, agent and memory, and concept-map diagrams.

In plain words
What is it for?
Use it to make system architecture, process, data-flow, sequence, or agent diagrams, validate the SVG, and produce an image for sharing.
Why use it?
It provides a repeatable way to create and validate diagrams from system descriptions. SVG stays editable and scalable, while PNG is convenient for documents and presentations.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

This is boshi-xixixi/TraeSkill's own configuration. It tells Codex how to work on TraeSkill 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 TraeSkill configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/generate-diagram.sh -t architecture -s 1 -o ./output/arch.svg.

Reuse

Borrowing it

Nothing to install: this file belongs to boshi-xixixi/TraeSkill. 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/boshi-xixixi/TraeSkill/main/.trae/Skills/10_Diagram_FireworksTechGraph/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

Made for: 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 fireworks-tech-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/10_diagram_fireworkstechgraph/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/10_diagram_fireworkstechgraph)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/10_diagram_fireworkstechgraph"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/10_diagram_fireworkstechgraph/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 fireworks-tech-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/10_diagram_fireworkstechgraph"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/10_diagram_fireworkstechgraph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,675 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.00139 $0.07675
Opus 5.5 $0.00056 $0.03070
Sonnet 5.5 $0.00028 $0.01535
Haiku 4.5 $0.00014 $0.00768

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

Security

Grade A, and why

fireworks-tech-graph 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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/generate-diagram.sh, scripts/generate-from-template.py, scripts/test-all-styles.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

2 near-identical copies found in the catalogue:

.trae/Skills/10_Diagram_FireworksTechGraph/SKILL.md · 591 lines

How it starts

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

Fireworks Tech Graph

Generate production-quality SVG technical diagrams exported as PNG via cairosvg (recommended), rsvg-convert, or puppeteer.

Install Source

Install this skill from GitHub:

npx skills add yizhiyanhua-ai/fireworks-tech-graph

Public package page:

https://www.npmjs.com/package/@yizhiyanhua-ai/fireworks-tech-graph

Do not pass @yizhiyanhua-ai/fireworks-tech-graph directly to skills add, because the CLI expects a GitHub or local repository source.

Update command:

npx skills add yizhiyanhua-ai/fireworks-tech-graph --force -g -y

Four helper scripts in scripts/ directory provide stable SVG generation and validation:

1. generate-diagram.sh - Validate SVG + export PNG

./scripts/generate-diagram.sh -t architecture -s 1 -o ./output/arch.svg
  • Validates an existing SVG file
  • Exports PNG after validation
  • Example: ./scripts/generate-diagram.sh -t architecture -s 1 -o ./output/arch.svg

2. generate-from-template.py - Create starter SVG from template

python3 ./scripts/generate-from-template.py architecture ./output/arch.svg '{"title":"My Diagram","nodes":[],"arrows":[]}'
  • Loads a built-in SVG template
  • Renders nodes, arrows, and legend entries from JSON input
  • Escapes text content to keep output XML-valid

3. validate-svg.sh - Validate SVG syntax

./scripts/validate-svg.sh <svg-file>
  • Checks XML syntax
  • Verifies tag balance
  • Validates marker references
  • Checks attribute completeness
  • Validates path data

4. test-all-styles.sh - Batch test all styles

./scripts/test-all-styles.sh
  • Tests multiple diagram sizes
  • Validates all generated SVGs
  • Generates test report

When to use scripts:

  • Use scripts when generating complex SVGs to avoid syntax errors
  • Scripts provide automatic validation and error reporting
  • Recommended for production diagrams

When to generate SVG directly:

  • Simple diagrams with few elements
  • Quick prototypes
  • When you need full control over SVG structure

Read the full file on GitHub · 591 lines

Files

What ships with it

43 files 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. 8d ago First seen · 591 lines · 139 tokens per session scan A bb72b0a5cbc6

Subscribe to this mod's changes

fireworks-tech-graph is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 139 tokens to every session and 7,675 once invoked, about $0.0006 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-11-22.

Related

fireworks-tech-graph compared with skills from other repositories

fireworks-tech-graph next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fireworks-tech-graphboshi-xixixi/TraeSkillSkill2889d agoMITA139Codex
designRune-kit/runeSkill962d agoMITA67Claude Code
diagramRune-kit/runeSkill962d agoMITA74Claude Code
asset-creatorRune-kit/runeSkill962d agoMITA56Claude Code
cognitive-walkthroughmastepanoski/claude-skillsSkill751mo agoMITA38Claude Code, Codex
design-itsmallnest/goal-workflowSkill3032mo agoMITA95Claude Code
create-diagramdiagrid-labs/dapr-skillsSkill135d agoMITA50Claude Code