add-plugin

A setup guide for generating a new Tauri plugin inside a repository’s plugins folder. Tauri is a framework for building desktop apps with web technologies and Rust.

In plain words
What is it for?
Use it when adding a new plugin, generating its code bindings, and updating the Rust, JavaScript, and permission files needed to include it in the app.
Why use it?
It removes the guesswork from creating the plugin and connecting it to the desktop app. It also keeps the new files consistent with an existing plugin.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/fastrepl/anarlog/add-plugin
Any agent
npx skills add fastrepl/anarlog --skill add-plugin
Clone the repo
git clone --depth 1 https://github.com/fastrepl/anarlog

Made for: Claude Code, Codex.

Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00059 $0.00286
Opus 5 $0.00030 $0.00143
Sonnet 5 $0.00012 $0.00057
Haiku 4.5 $0.00006 $0.00029

Measured 2d ago against content hash 2d24ae65e174, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-plugin 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 2d 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.

.agents/skills/add-plugin/SKILL.md · 41 lines

What it actually says

Create a new plugin with:

npx @tauri-apps/cli plugin new NAME \
--no-example \
--directory ./plugins/NAME

Decide NAME from the user request, then run the generator.

Follow the style and conventions used in plugins/analytics:

  • remove generated rollup.config.js
  • remove generated README.md
  • update tsconfig.json
  • update package.json

If the user does not ask for different command behavior, keep the single ping function in both ext.rs and commands.rs.

After the code changes are in place, generate bindings:

pnpm -F @anlg/plugin-<NAME> codegen

Finish by updating these integration points:

  • Cargo.toml
  • apps/desktop/src-tauri/Cargo.toml
  • apps/desktop/package.json
  • apps/desktop/src-tauri/capabilities/default.json

Run pnpm i after updating apps/desktop/package.json.

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. 2d ago First seen · 41 lines · 59 tokens per session scan A 2d24ae65e174

Subscribe to this mod's changes

add-plugin is a skill published in the GitHub repository fastrepl/anarlog (9,219 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 286 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

bug-triage

Use when triaging Phase Discord bug reports, syncing reports into triage artifacts, creating or updating GitHub issues, tracking bug clusters, or applying the repository's bug-fix review workflow.

phase-rs/phase · 43 tokens

oracle-parser

Use when doing any parser work — adding new Oracle text patterns, verb forms, phrase helpers, target patterns, subject handling, effect chain composition, fixing Unimplemented fallbacks, or understanding the parser architecture. This is the SINGLE SOURCE OF TRUTH for all oracle parser knowledge. Covers the nom…

phase-rs/phase · 82 tokens

pr-review-loop

Use to run a continuous review sweep over open contributor PRs in phase.rs. The skill is a thin orchestration layer over scripts/prreview.py: discover candidates, detect stale reviews/follow-ups, dispatch review-impl for PRs that need judgment, and delegate authorized merge handling to pr-contribution-handler.

phase-rs/phase · 66 tokens

add-ai-feature-policy

Use when adding a new deck-aware AI feature (DeckFeatures axis) and its companion policies (TacticalPolicy + optional MulliganPolicy) to phase-ai. Codifies the structural-detection pattern, AST-type locations, parts-based predicate convention, registry wiring sites, and recurring review traps so a new feature ships in…

phase-rs/phase · 81 tokens

engine-implementer

End-to-end phase.rs implementation pipeline: plan, review-plan, implement, review-impl, commit — each step run in a fresh spawned agent, with automatic phase decomposition for oversized workloads.

phase-rs/phase · 43 tokens

add-engine-effect

Use when adding a new effect, mechanic, or parser capability to the engine. Covers the full lifecycle from types → parser → resolver → targeting → frontend → AI → tests.

phase-rs/phase · 39 tokens