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.
npx agentmods add instructions/mrfadiai/tia-toolkit/claude-mdgit clone --depth 1 https://github.com/MrFadiAi/TIA-ToolkitWrote 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.
[](https://agentmods.dev/instructions/mrfadiai/tia-toolkit/claude-md)<a href="https://agentmods.dev/instructions/mrfadiai/tia-toolkit/claude-md"><img src="https://agentmods.dev/badge/instructions/mrfadiai/tia-toolkit/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03349 | $0.03349 |
| Opus 5 | $0.01674 | $0.01674 |
| Sonnet 5 | $0.00670 | $0.00670 |
| Haiku 4.5 | $0.00335 | $0.00335 |
Grade A, and why
TIA-Toolkit CLAUDE.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.
How it starts
The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What This Project Does
A GUI toolkit for extracting data from Siemens TIA Portal projects. Two extraction pipelines:
- HMI Pipeline — extracts screen elements (buttons, IO fields, circles) with PLC tag bindings from Unified HMI projects
- PLC Pipeline — extracts program blocks (FB, FC, OB, DB) with interfaces, code, tag cross-references, and call structure
Both use a dual-extraction approach: C# online (TIA Portal API) + Python offline (parses exported files), then merge and report.
Quick Start
Double-click TIA Toolkit.bat to launch the GUI, or run python src/gui.py.
Dependency
pip install openpyxl customtkinter
Project Structure
Extract_PLC_Data_GUI/
├── CLAUDE.md ← This file
├── TIA Toolkit.bat ← Double-click launcher (calls TIA Toolkit.py)
├── TIA Toolkit.py ← Python launcher entry point
├── .gitignore
├── src/ ← All source files
│ ├── gui.py ← Desktop GUI (CTk class: TiaToolkitApp)
│ ├── generate_claudemd.py ← Project-specific CLAUDE.md generator
│ ├── extract_plc_full.py ← PLC offline parser (XML → .plc_cache.json)
│ ├── plc_report.py ← PLC markdown reports (→ Doc_OUTPUT/Program_Blocks/)
│ ├── merge_plc_data.py ← PLC online+offline merger
│ ├── extract_hmi_full.py ← HMI offline parser (RDF → .hmi_offline_data.json)
│ ├── hmi_report.py ← HMI markdown reports (→ Doc_OUTPUT/hmi_screens/)
│ ├── merge_hmi_data.py ← HMI online+offline merger
│ ├── tia_export_blocks.cs ← PLC C# source (V21)
│ ├── tia_export_blocks.exe / .exe.config
│ ├── tia_export_blocks_v18.exe / .exe.config
│ ├── tia_extract.cs ← HMI C# source (V21)
│ ├── tia_extract.exe / .exe.config
│ ├── tia_extract_v18.exe / .exe.config
│ └── tia_extract_plc.cs ← Alt PLC C# source
└── Doc_OUTPUT/ ← Generated output (gitignored)
├── Program_Blocks/ ← PLC block .md reports (mirrors TIA folder structure)
│ ├── PLC_Data_Types/ ← UDT/STRUCT reports
│ └── PLC tags/ ← plc_tags.md
├── hmi_screens/ ← HMI screen .md reports + hmi_tags.md
├── .plc_cache.json ← PLC extraction cache
├── .hmi_online_data.json ← C# HMI extraction output
├── .hmi_offline_data.json ← Python HMI extraction output
├── .hmi_merged.json ← Merged HMI data
└── CLAUDE.md ← Generated project-specific CLAUDE.md
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.
- 5d ago First seen · 262 lines · 3,349 tokens per session scan A 82cffc1bdc47
TIA-Toolkit CLAUDE.md is an instructions file published in the GitHub repository MrFadiAi/TIA-Toolkit (2 stars, last pushed 3mo ago), licensed MIT. It adds 3,349 tokens to every session, about $0.0167 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.
Other instructions, from other repositories
cml-mcp AGENTS.md
AGENTS.md instructions for xorrkaz/cml-mcp, covering agents.md — cml mcp server, project overview, compatibility goal, repository layout and tool modules (src/cmlmcp/tools/).
brilliant_sdk AGENTS.md
Instructions for brilliantlabsAR/brilliant_sdk, covering brilliant sdk — agent guide, how an app works (the pattern behind everything), minimal reading paths, verify without hardware and testing.
NeoMind CLAUDE.md
Claude Code instructions for camthink-ai/NeoMind, covering neomind — edge ai platform for iot, development commands, ecosystem repositories, extension package contract (.nep) and device type template contract (json).
cad-cae-copilot copilot-instructions.md
Copilot instructions for armpro24-blip/cad-cae-copilot, covering github copilot — aieng workspace and essentials.
phone-mcp CLAUDE.md
Claude Code instructions for premex-ab/phone-mcp, covering claude.md, project overview, build commands, architecture and module layout.
zmk-config AGENTS.md
AGENTS.md instructions for urob/zmk-config, covering customization guide, ground rules, how the multi-board layout works, adding a new board and where to change what.