har: Skill for Claude Code

.claude/skills/new-plugin/SKILL.md

new-plugin is a skill for Claude Code from os-factory/har. It costs 89 tokens per session (2,325 once invoked), scanned A, original, Apache-2.0.

A template and process for adding a verification plugin to HAR, a tool that installs and runs registered project stages. Each plugin is an installable bundle for a particular framework.

In plain words
What is it for?
Use it when creating a new HAR plugin or plugin template for testing, verification, or other framework-specific stages.
Why use it?
It provides the steps needed to research a framework, create its plugin template, register it, test it locally and in a real repository, and submit the result as a pull request.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument; mentions AGENTS.md.

This is os-factory/har's own configuration. It tells Claude Code how to work on har itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything har configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Instance of the [factory-line](../factory-line/SKILL.md) template.**.

Reuse

Borrowing it

Nothing to install: this file belongs to os-factory/har. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/os-factory/har/main/.claude/skills/new-plugin/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/os-factory/har

Made for: Claude Code.

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 new-plugin

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/os-factory/har/new-plugin"><img src="https://agentmods.dev/badge/skills/os-factory/har/new-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,325 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 44
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00089 $0.02325
Opus 5.5 $0.00036 $0.00930
Sonnet 5.5 $0.00018 $0.00465
Haiku 4.5 $0.00009 $0.00232

Measured 2mo ago against content hash e8925adcde5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

.claude/skills/new-plugin/SKILL.md · 166 lines

How it starts

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

New HAR plugin factory line

Instance of the factory-line template. Program data: new-plugin.line.json. Stations here are sequential phases, not GitHub issues. The product is a plugin, not a runtime migration — that is why this line exists as a second instance.

Ship a new verification plugin <id> for framework <framework> end-to-end: research → template → registration → local validation → real-repo validation → PR.

A plugin is an installable bundle under src/templates/plugins/<id>/ applied by har env add-plugin <id>. It registers generic stage kinds (test, verify, custom, …) in the target repo's .har/stages.json. Philosophy (AGENTS.md): plugins install stages; agents only talk to the stage registry. Never add stack-specific MCP tools or core stages.

Reference implementations: src/templates/plugins/playwright/ (web e2e, package.json merge, CI workflow) and src/templates/plugins/rocketsim/ (external-tool flows, no package merge). Pick whichever is closer to <framework> as your baseline.

Phase 0 — Inputs

Establish before doing anything (ask the user only if not inferable):

  • Plugin id — short lowercase slug (cypress, maestro, k6).
  • Framework — what it tests and on which stack (web, iOS, API, load…).
  • Stage id — what the stage does, not the brand (browser-e2e, mobile-flows, load-test). Brand goes in the description and docs filename.
  • Validation repo — a real repository that uses <framework> to prove the plugin works (Phase 5). An existing example/OSS repo, or a minimal app you scaffold.

Phase 1 — Research the framework

Do this before writing any template file. Use WebSearch/WebFetch on the framework's official docs and answer:

  1. Headless CLI invocation — exact command to run tests non-interactively in CI (e.g. npx cypress run, maestro test flows/). Flags for reporter/output dir.
  2. Config file — name, format, and the minimal config needed; how to inject BASE_URL/ports via env vars (HAR slots compute ports per agent id).
  3. Artifacts — where reports/screenshots/videos land and how to redirect them into .har/artifacts/<stage-id>/.
  4. Install — npm devDependencies (+ current stable version) or external binary (then document a doctor/preflight check instead of a package merge).
  5. CI recipe — official GitHub Actions setup, for the optional workflow file.
  6. Exit codes — how failure is signaled so the stage script can pass it through.

Read the full file on GitHub · 166 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. 2mo ago First seen · 166 lines · 89 tokens per session scan A e8925adcde5e

Subscribe to this mod's changes

new-plugin is a skill published in the GitHub repository os-factory/har (129 stars, last pushed 3d ago), licensed Apache-2.0. It adds 89 tokens to every session and 2,325 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-30.

Related

new-plugin compared with skills from other repositories

new-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
new-pluginos-factory/harSkill1293d agoApache-2.0A89Claude Code
ctxagentis-tools/ctxSkill132d agoApache-2.0A60Claude Code
ctxagentis-tools/ctxSkill132d agoApache-2.0A60Claude Code, Codex
diagnose-windows-sandbox-aclsingula-ai/alegoSkill11016d agoMITA67Claude Code, Codex
office-docxsingula-ai/alegoSkill11016d agoMITA18Claude Code, Codex
office-pptxsingula-ai/alegoSkill11016d agoMITA20Claude Code, Codex
office-xlsxsingula-ai/alegoSkill11016d agoMITA23Claude Code, Codex