Skip to content
Back to skills

sensei

ASecurity

**WORKFLOW SKILL** - Improve and evaluate Agent Skills with portable validation, host profiles, resource analysis, and behavioral evidence. WHEN: \"run sensei\", \"sensei help\", \"improve skill\", \"fix frontmatter\", \"score skill\", \"analyze skill\", \"evaluate skill\". INVOKES: Sensei CLI, test runners, git. FOR SINGLE OPERATIONS: use the Sensei CLI directly.

  • 60 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
ai-agentsgitsecurity

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add spboyer/sensei --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of sensei?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for sensei
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spboyer-sensei/badge)](https://www.skillsdirectory.com/skills/spboyer-sensei)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sensei
description: "**WORKFLOW SKILL** - Improve and evaluate Agent Skills with portable validation, host profiles, resource analysis, and behavioral evidence. WHEN: \"run sensei\", \"sensei help\", \"improve skill\", \"fix frontmatter\", \"score skill\", \"analyze skill\", \"evaluate skill\". INVOKES: Sensei CLI, test runners, git. FOR SINGLE OPERATIONS: use the Sensei CLI directly."
---

# Sensei

Improve skills using the [Ralph loop](references/loop.md). For help, explain modes,
defaults, and checks from [configuration](references/configuration.md).
For source bundles and installation, see [distribution](references/distribution.md).

1. **Read** the target `SKILL.md`, references, tests, and repo-local instructions.
   Verify tooling exists before claiming it is missing. Count baseline tokens:
   From the Sensei checkout, pass the target repository root and a path relative
   to it: `npm run tokens -- count --root <target-repo> <skill-path>/SKILL.md`.
2. **Score** with `npm run tokens -- score --root <target-repo> <skill-path>`.
   Select `--profile=portable` or `--profile=copilot` explicitly when host
   extensions are present.
   Separate portable-spec
   diagnostics from [Sensei recommendations](references/scoring.md).
   Preserve `.sensei.json` and AGENTS.md short-description policy. A 150-character
   floor, 60-word target, type prefix, `WHEN:`, and 500-token target are heuristics,
   not specification requirements.
3. **Scaffold** missing tests using [templates](references/test-templates/skill-init.md).
   Use realistic positive prompts and close near-misses from intended scope;
   negative frontmatter syntax is not required.
4. **Improve** concise positive routing and operational instructions using
   [examples](references/examples.md). Keep descriptions non-empty and within
   1024 characters. Preserve meaningful boundaries; evaluate them on the target host.
   Check [portability](references/portability.md) before introducing host fields.
5. **Verify** with the target project's test runner; `--fast` skips tests but must
   report them as not run. GEPA mode uses optional keyword/proxy fitness, not
   observed host activation; follow [configuration](references/configuration.md).
6. **Analyze resources** with
   `npm run tokens -- analyze --root <target-repo> <skill-path>`.
   Review contained links, symlinks, aggregate resource limits, script signals,
   and lifecycle evidence. Treat heuristic warnings as hypotheses, not failures.
7. **Check budgets** with
   `npm run tokens -- check --root <target-repo> <skill-path>/SKILL.md`.
   Report configured token-limit warnings separately from optional optimization
   suggestions. For MCP-aware skills, follow [MCP integration](references/mcp-integration.md).
8. **Summarize** profile states, findings, unavailable evidence, changes,
   diagnostics, tests, token deltas, and remaining suggestions.
   `score --emit-proof` records static evidence, not runtime quality or a security audit.
   Ask whether to commit, create an issue, or skip; do not discard edits unasked.
9. **Repeat** until the intended gates and tests pass, at most five iterations.
   Process batches sequentially and report failures explicitly.

Files in this skill

  • .ai-team-templates/casting-history.json70 B
  • .ai-team-templates/casting-policy.json718 B
  • .ai-team-templates/casting-registry.json19 B
  • .ai-team-templates/ceremonies.md978 B
  • .ai-team-templates/charter.md2 KB
  • .ai-team-templates/copilot-instructions.md1.8 KB
  • .ai-team-templates/history.md265 B
  • .ai-team-templates/orchestration-log.md1.1 KB
  • .ai-team-templates/raw-agent-output.md1.3 KB
  • .ai-team-templates/roster.md2 KB
  • .ai-team-templates/routing.md3.4 KB
  • .ai-team-templates/run-output.md1.5 KB
  • .ai-team-templates/scribe-charter.md5 KB
  • .ai-team-templates/skill.md587 B
  • .ai-team/ceremonies.md978 B
  • .ai-team/decisions.md20.2 KB
  • .ai-team/routing.md1.4 KB
  • .ai-team/team.md3.7 KB
  • .token-limits.json437 B
  • AGENTS.md8.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.