temps-add-plugin

temps-add-plugin is a skill for Claude Code, Codex from gotempsh/temps. It costs 88 tokens per session (2,190 once invoked), scanned A, original, Apache-2.0.

A procedure for connecting a Temps feature crate to the server through a plugin. The plugin creates or obtains services, exposes routes, and supplies an OpenAPI description, which documents the HTTP API.

In plain words
What is it for?
Use it when adding a feature crate, registering its services, setting initialization requirements, exposing private or public routes, and adding its API schema to the server.
Why use it?
It gives feature crates a consistent way to start their services and make their endpoints available without putting all wiring in the server startup code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/rule_drift.py.

Good fit Use it when adding a feature crate, registering its services, setting initialization requirements, exposing private or public routes, and adding its API schema to the server.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/gotempsh/temps
agentmods
npx agentmods add skills/gotempsh/temps/temps-add-plugin

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for temps-add-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/gotempsh/temps/temps-add-plugin/github.svg)](https://agentmods.dev/skills/gotempsh/temps/temps-add-plugin)
Your own site
<a href="https://agentmods.dev/skills/gotempsh/temps/temps-add-plugin"><img src="https://agentmods.dev/badge/skills/gotempsh/temps/temps-add-plugin/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.

agentmods 80×15 button for temps-add-plugin

Your own site · 80×15
<a href="https://agentmods.dev/skills/gotempsh/temps/temps-add-plugin"><img src="https://agentmods.dev/badge/skills/gotempsh/temps/temps-add-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,190 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00088 $0.02190
Opus 5.5 $0.00035 $0.00876
Sonnet 5.5 $0.00018 $0.00438
Haiku 4.5 $0.00009 $0.00219

Measured yesterday against content hash 8c7bf677dfb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

temps-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 yesterday.

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/temps-add-plugin/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add a plugin

Every feature crate plugs into the server through TempsPlugin. The plugin builds the crate's services from shared ones, publishes its own services for other plugins, and returns its router and OpenAPI document.

  • Trait and runtime: crates/temps-core/src/plugin.rs (TempsPlugin, ServiceRegistrationContext, PluginContext, PluginRoutes, RequiredService, PluginManager).
  • Smallest complete example: crates/temps-flags/src/plugin.rs (one service, one router, one OpenAPI doc, no background work).
  • Example with declared requirements: crates/temps-error-tracking/src/plugin.rs.
  • Example with deferred initialisation: crates/temps-blob/src/plugin.rs.
  • Where plugins are registered: register_builtin_plugins in crates/temps-cli/src/commands/serve/console/startup/plugins.rs.

1. The crate

A new crate under crates/:

  • Add it to members in the root Cargo.toml.
  • End its Cargo.toml with [lints] / workspace = true.
  • Typical layout, as in temps-flags: lib.rs, error.rs, services/, handlers/{mod,handler,types,audit}.rs, plugin.rs. Re-export the plugin from lib.rs (pub use plugin::FlagsPlugin;).
  • Add a description to [package].

2. Implement TempsPlugin

Shape of crates/temps-flags/src/plugin.rs:

pub struct FlagsPlugin;

impl TempsPlugin for FlagsPlugin {
    fn name(&self) -> &'static str {
        "flags"
    }

    fn register_services<'a>(
        &'a self,
        context: &'a ServiceRegistrationContext,
    ) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'a>> {
        Box::pin(async move {
            let db = context.require_service::<DatabaseConnection>();
            context.register_service(Arc::new(FlagService::new(db)));
            Ok(())
        })
    }

    fn configure_routes(&self, context: &PluginContext) -> Option<PluginRoutes> {
        let flag_service = context.require_service::<FlagService>();
        let audit_service = context.require_service::<dyn AuditLogger>();
        let project_access_checker = context.get_service::<dyn temps_core::ProjectAccessChecker>();
        let app_state = Arc::new(FlagsAppState { flag_service, audit_service, project_access_checker });
        Some(PluginRoutes::new(configure_routes().with_state(app_state)))
    }

    fn openapi_schema(&self) -> Option<OpenApi> {
        Some(<FlagsApiDoc as OpenApiTrait>::openapi())
    }
}

Read the full file on GitHub · 199 lines

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. yesterday Changed · +4 lines 8c7bf677dfb9
  2. 4d ago First seen · 195 lines · 88 tokens per session scan A e6e46a152acb

Subscribe to this mod's changes

temps-add-plugin is a skill published in the GitHub repository gotempsh/temps (903 stars, last pushed yesterday), licensed Apache-2.0. It adds 88 tokens to every session and 2,190 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-11-02.

Related

temps-add-plugin compared with skills from other repositories

temps-add-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
temps-add-plugingotempsh/tempsSkill903yesterdayApache-2.0A88Claude Code, Codex
bunjs-productionMadAppGang/claude-codeSkill2877mo agoMITA52Claude Code
reviewing-blogsappwrite/appwriteSkill58kyesterdayBSD-3-ClauseA55Cursor
java-modernpiomin/claude-ai-spring-bootSkill1.4k7d agoApache-2.0A46Claude Code
claude-apiPrismer-AI/PrismerCloudSkill1.4k15d agoMITA193Claude Code, Codex
release-preflightPrismer-AI/PrismerCloudSkill1.4k15d agoMITA76Claude Code
release-db-config-syncPrismer-AI/PrismerCloudSkill1.4k15d agoMITA91Claude Code