Borrowing it
Nothing to install: this file belongs to MrFadiAi/TIA-Toolkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MrFadiAi/TIA-Toolkit/main/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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.01340 | $0.01340 |
| Sonnet 5.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 2mo 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.
- 2mo 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 5mo ago), licensed MIT. It adds 3,349 tokens to every session, about $0.0134 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.
TIA-Toolkit CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| TIA-Toolkit CLAUDE.mdMrFadiAi/TIA-Toolkit | Instructions file | 2 | 5mo ago | MIT | A | 3,349 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 282k | 3d ago | MIT | A | 4,335 | Codex, OpenCode |