knowledge-engineering-quality-and-delivery-performance-security-and-snapshot-gates

knowledge-engineering-quality-and-delivery-performance-security-and-snapshot-gates is a skill for Claude Code, Codex from echoVic/blade-code. It costs 172 tokens per session (2,534 once invoked), scanned A, original, MIT.

A set of quality gates that checks performance, security, dependencies, test coverage, and stable output snapshots.

In plain words
What is it for?
Use it to adjust startup or bundle budgets, security checks, dependency audits, coverage thresholds, or snapshot tests.
Why use it?
It catches resource regressions, unsafe changes, dependency problems, and unexpected output changes before delivery.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to adjust startup or bundle budgets, security checks, dependency audits, coverage thresholds, or snapshot tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/echovic/blade-code/performance-security-and-snapshot-gates
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.

Any agent
npx skills add echoVic/blade-code --skill performance-security-and-snapshot-gates
Clone the repo
git clone --depth 1 https://github.com/echoVic/blade-code

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 knowledge-engineering-quality-and-delivery-performance-security-and-snapshot-gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/echovic/blade-code/performance-security-and-snapshot-gates.svg)](https://agentmods.dev/skills/echovic/blade-code/performance-security-and-snapshot-gates)
Your own site
<a href="https://agentmods.dev/skills/echovic/blade-code/performance-security-and-snapshot-gates"><img src="https://agentmods.dev/badge/skills/echovic/blade-code/performance-security-and-snapshot-gates.svg" alt="Measured on agentmods" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,534 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 pass 7 Sept 2026
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.00172 $0.02534
Opus 5 $0.00086 $0.01267
Sonnet 5 $0.00034 $0.00507
Haiku 4.5 $0.00017 $0.00253

Measured 4d ago against content hash 0f42a250e509, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

knowledge-engineering-quality-and-delivery-performance-security-and-snapshot-gates 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 4d 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.

.trae/knowledges/engineering-quality-and-delivery/performance-security-and-snapshot-gates/SKILL.md · 89 lines

How it starts

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

Module Structure

该节点聚合四种不同可信度的质量信号:直接压产品实现的资源不变量、依赖构建产物的性能预算、源码边界审计,以及只锁定展示字符串的快照。

Directory Layout

  • packages/cli/tests/performance/ — CLI 启动、数据结构、Token 算法和可选真实仓库 benchmark
  • packages/cli/web/tests/performance/ — production Web bundle 的 gzip 预算
  • packages/cli/tests/security/ — 输入模式、路径、敏感文件与 Browser Tool 源码边界检查
  • packages/cli/tests/snapshots/ — 工具输出示例及 Vitest snapshot
  • packages/cli/scripts/run-security-tests.sh — 依赖审计、许可证和 outdated 辅助脚本
  • scripts/bench-sqlite.mts — JSONL 与 SQLite 投影的独立人工 benchmark
  • packages/cli/vitest.config.ts — performance/snapshot/security project 与 coverage 阈值
  • .github/workflows/ci.yml — security、coverage、Chromium sandbox 和制品上传作业

Key Entry Points

  • performancesnapshotsecurity projects in packages/cli/vitest.config.ts — 三类专用测试选择器
  • packages/cli/tests/performance/regression/startup-time.test.ts — 对已构建 CLI 的启动相对回归
  • packages/cli/web/tests/performance/bundle-size.test.ts — Web 入口、首屏与总 JS gzip 上限
  • packages/cli/tests/security/browser-tool-boundary.test.ts — Browser Tool 禁止能力与 sandbox 源码契约
  • packages/cli/tests/snapshots/outputs/tool-output.snap.test.ts — 快照生成入口

Branching Table

维度 分支 A 分支 B
性能对象 BoundedOutputBufferKeyedMutexRegistry 直接压生产类并断言资源上限 token-counter benchmark 使用测试内算法,只比较相对速度
制品依赖 startup 与 Web bundle 测试要求已有 dist 纯数据结构 benchmark 可直接从源码运行
benchmark 启用 默认 performance project 跳过真实仓库 benchmark BLADE_RUN_REAL_REPO_BENCHMARK=1 才运行真实 Agent 仓库任务
安全证据 Browser 边界测试读取生产源码并锁定禁用能力/sandbox 约束 injection/path/sensitive-file 测试主要验证测试文件内定义的检测器
依赖审计 CI 执行 bun audit --audit-level=critical 独立 shell 脚本使用 moderate 并额外检查许可证/outdated,但未接入 package 命令
coverage V8 对产品源码执行 80% 全局阈值,显式排除 performance performance 独立运行,避免插桩与并发负载污染 wall-clock
snapshot 默认测试把现有 .snap 当断言 test:update-snapshots 显式传 --update 重写基线

Affected Scope

  • packages/cli/src/tools/builtin/shell/ — 有界输出缓冲的内存与 retained chunk 不变量
  • packages/cli/src/utils/KeyedMutexRegistry.ts — 高 churn key 的归零与并发保留上限
  • packages/cli/src/context/ — Token 预算和 SQLite/JSONL 投影的性能关注点
  • packages/cli/src/browser/ — Chromium sandbox、私有 API 禁用和真实浏览器集成边界
  • packages/cli/scripts/build.tspackages/cli/web/vite.config.ts — startup 与 Web bundle 测试所需制品的生成入口
  • packages/cli/tests/performance/ — 自动 performance project 与可选真实仓库 benchmark
  • packages/cli/tests/security/ — 安全 smoke、源码契约与输入分类样例
  • packages/cli/tests/snapshots/ — 人工批准的字符串输出基线
  • .github/workflows/ci.yml — coverage 前 Chromium 安装、SUID helper、审计与报告上传

Read the full file on GitHub · 89 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. 4d ago First seen · 89 lines · 172 tokens per session scan A 0f42a250e509

Subscribe to this mod's changes

knowledge-engineering-quality-and-delivery-performance-security-and-snapshot-gates is a skill published in the GitHub repository echoVic/blade-code (178 stars, last pushed 2d ago), licensed MIT. It adds 172 tokens to every session and 2,534 once invoked, about $0.0009 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-09-03.

Related

Other skills, from other repositories

tmux-manual-qa

Run a single manual tmux-based QA scenario for the todo continuation feature against the real CLI (./pi-test.sh) in an interactive TUI. Captures scrollback, asserts deterministic pass/fail count markers, and cleans up test fixtures. Use only for the manual-qa milestone features.

code-yeongyu/senpi · 66 tokens

audit-harness

Use when auditing HARNESS.md, pre-commit hooks, pre-push hooks, architecture gates, or CI workflows for tunacode-cli. This skill treats any mismatch, skipped gate, or failing check as a critical failure and requires manual one-by-one execution rather than make targets, batch wrappers, or summary-only audits.

alchemiststudiosDOTai/tunacode · 69 tokens

tricorder-cli

Full CLI reference for the tricorder daemon (build diagnostics, test results, source lookup, eval comments, logs). This is the fallback invoked by the tricorder skill when the tricorder-mcp MCP tools aren't available or aren't working — invoke tricorder first; it decides whether this is needed.

tweag/tricorder · 67 tokens

tricorder-mcp

Check GHCi build status, diagnostics, and test results for this Haskell project via the tricorder MCP server. Use when asked to check the build, see compiler errors/warnings, or run tricorder.

tweag/tricorder · 48 tokens

tricorder

Check GHCi build status, compiler errors/warnings, or test results for this Haskell project. Use when asked to check the build, see errors/warnings, or run tricorder.

tweag/tricorder · 42 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

alleneee/skill-agent · 35 tokens