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 skills add OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill tauri-syntax-stategit clone --depth 1 https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-ComposerWrote 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/skills/openaec-foundation/openaec-workspace-composer/tauri-syntax-state)<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/tauri-syntax-state"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/tauri-syntax-state/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/skills/openaec-foundation/openaec-workspace-composer/tauri-syntax-state"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/tauri-syntax-state.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.00095 | $0.01930 |
| Opus 5.5 | $0.00038 | $0.00772 |
| Sonnet 5.5 | $0.00019 | $0.00386 |
| Haiku 4.5 | $0.00010 | $0.00193 |
Grade A, and why
tauri-syntax-state 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 3mo 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 — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tauri-syntax-state
Quick Reference
State Registration (Tauri 2.x)
| Method | Context | Description |
|---|---|---|
Builder::manage(T) |
Builder chain | Register state during app construction |
App::manage(T) |
setup() hook |
Register state that depends on app initialization |
AppHandle::manage(T) |
Any context | Register state at runtime (rare) |
State Access
| Method | Context | Returns |
|---|---|---|
State<'_, T> |
Command parameter | Injected automatically by Tauri |
app_handle.state::<T>() |
Any code with AppHandle | State<'_, T> (panics if not registered) |
app_handle.try_state::<T>() |
Any code with AppHandle | Option<State<'_, T>> (safe) |
Thread-Safety Wrappers
| Wrapper | Use Case | Lock Method |
|---|---|---|
std::sync::Mutex<T> |
Mutable state, no .await while locked |
.lock().unwrap() |
tokio::sync::Mutex<T> |
Mutable state with .await while locked |
.lock().await |
std::sync::RwLock<T> |
Read-heavy access, concurrent readers | .read().unwrap() / .write().unwrap() |
| None (immutable) | Read-only config data | Direct field access |
Critical Warnings
NEVER use State<'_, T> when you registered Mutex<T> — the type must match EXACTLY or Tauri panics at runtime, not at compile time. If you registered Mutex<Counter>, the command parameter must be State<'_, Mutex<Counter>>.
NEVER wrap managed state in Arc — Tauri already wraps all managed state in Arc internally. Using app.manage(Arc::new(data)) adds a redundant layer.
NEVER lock the same Mutex twice in the same call chain — this causes a deadlock. If a function holding a lock calls another function that also locks, the thread blocks forever.
NEVER use tokio::sync::Mutex unless you need to hold the lock across .await points — std::sync::Mutex is more efficient for synchronous access.
ALWAYS register state before any command tries to access it — accessing unregistered state via State<T> causes a runtime panic.
What ships with it
3 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.
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.
- 3mo ago First seen · 254 lines · 95 tokens per session scan A 58ae1d0a3130
tauri-syntax-state is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (8 stars, last pushed 2mo ago), licensed MIT. It adds 95 tokens to every session and 1,930 once invoked, about $0.0004 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.
tauri-syntax-state compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tauri-syntax-stateOpenAEC-Foundation/OpenAEC-Workspace-Composer | Skill | 8 | 2mo ago | MIT | A | 95 | Claude Code |
| rest-graphql-debugandrooAGI/starnet | Skill | 2.0k | today | MIT | A | 45 | Claude Code, Codex |
| mcp-server-buildingandrooAGI/starnet | Skill | 2.0k | today | MIT | A | 44 | Claude Code, Codex |
| service-app-creatorPeiiii/nextclaw | Skill | 266 | yesterday | MIT | A | 74 | Claude Code, Codex |
| Forsion Connect AI SDKChangan-Su/Forsion | Skill | 221 | today | Apache-2.0 | A | 168 | Claude Code, Codex |
| schema-validationdatadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction | Skill | 457 | 1mo ago | MIT | A | 29 | Claude Code, Codex |
| erp-data-extractordatadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction | Skill | 457 | 1mo ago | MIT | A | 25 | Claude Code, Codex |