Borrowing it
Nothing to install: this file belongs to Genuifx/ccem. 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/Genuifx/ccem/main/.claude/commands/add-tauri-command.mdgit clone --depth 1 https://github.com/Genuifx/ccemWrote 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/commands/genuifx/ccem/add-tauri-command)<a href="https://agentmods.dev/commands/genuifx/ccem/add-tauri-command"><img src="https://agentmods.dev/badge/commands/genuifx/ccem/add-tauri-command/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/commands/genuifx/ccem/add-tauri-command"><img src="https://agentmods.dev/badge/commands/genuifx/ccem/add-tauri-command.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.00014 | $0.00326 |
| Opus 5.5 | $0.00006 | $0.00130 |
| Sonnet 5.5 | $0.00003 | $0.00065 |
| Haiku 4.5 | $0.00001 | $0.00033 |
Grade A, and why
add-tauri-command 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 1mo 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.
What it actually says
Add a new Tauri command: $ARGUMENTS
Follow this checklist:
1. Rust Backend
- Define the
#[tauri::command]function inapps/desktop/src-tauri/src/main.rsor its dedicated module - Add appropriate input/output types with
Serialize/Deserialize - Register the command in
.invoke_handler(tauri::generate_handler![...])inmain() - If it needs managed state, add
State<'_, Arc<Manager>>parameter
2. TypeScript Types
- Add request/response types to
apps/desktop/src/lib/tauri-ipc.ts
3. IPC Bridge
- Add the invoke wrapper function in
apps/desktop/src/hooks/useTauriCommands.ts - Map snake_case response fields to camelCase
- Update Zustand store if the command affects app state
4. Frontend
- Call the new function from the appropriate page/component
- Add i18n keys to both
src/locales/zh.jsonandsrc/locales/en.json
5. Verify
- Run
cd apps/desktop && pnpm exec tsc --noEmit(type check) - Run
cd apps/desktop/src-tauri && cargo check(Rust check)
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.
- 1mo ago First seen · 31 lines · 14 tokens per session scan A 25c40968d0ea
add-tauri-command is a command published in the GitHub repository Genuifx/ccem (23 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 326 once invoked, about $0.0001 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-30.
Other commands, from other repositories
modernize-transform
Transform one legacy module to the target stack — idiomatic rewrite with behavior-equivalence tests.
workpm
A project-management workflow for coordinating multiple AI workers through five stages. It includes task assignment, shared activity logs, worker replacement, and final checks.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.
growth-seo
SEO audit and optimization for organic search ranking.
crear-skill
Crear, probar y mejorar skills de forma iterativa. Usa cuando el usuario dice "crear skill", "crear habilidad", "build skill", "create a skill", "skill development", "desarrollar skill", "nueva habilidad". Usa el workflow: draft → test → review → improve → repeat con evaluación cuantitativa y qualitative review.
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…