skill-installer

Installs community skills with allowlist gating, raw source review, and human approval.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/tk1cntt/PhapChe --skill skill-installer-tk1cntt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-installer
Source: https://github.com/tk1cntt/PhapChe/tree/main/docs/claude-for-legal-main/legal-builder-hub/skills/skill-installer
Command: npx skills add https://github.com/tk1cntt/PhapChe --skill skill-installer-tk1cntt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Installing third-party AI skills into a legal workspace carries real risk: a malicious or sloppy SKILL.md can inject instructions, wire up unvetted MCP connectors, or write files outside its scope. This Skill enforces a defense-in-depth install pipeline so nothing is written to disk until the user has seen the raw source and explicitly approved it. ## Core Features & Use Cases - Allowlist gating: Reads an administrator-controlled allowlist.yaml before fetching anything, refusing unlisted registries, publishers, MCP connectors, and licenses in restrictive mode. - Raw source transparency: Displays the complete raw SKILL.md with flagged injection patterns, runs a structural trust check on hooks, MCP servers, tool permissions, file-write paths, and network calls, then runs a skills-qa quality scan. - License and freshness validation: Extracts SPDX license identifiers by strict pattern matching, verifies LICENSE files against registry metadata, and validates freshness frontmatter before injecting a freshness-gate preamble at install. - Use Case: A paralegal wants to install a community contract-review skill from a GitHub registry. The installer checks the allowlist, shows the full raw SKILL.md, flags an external URL in the file, runs the QA scan, and only copies files after the supervising attorney-approved user types yes. ## Quick Start Install the contract-review skill from the watched registry and show me the raw SKILL.md before writing anything.

Frequently Asked Questions about skill-installer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely install a community Claude skill from a registry?

Run the installer with the skill name or registry URL. It reads your allowlist first, fetches the skill in a read-only subagent, shows the full raw SKILL.md, runs trust and QA checks, and only writes files after you type an explicit yes.

What is the difference between permissive and restrictive allowlist mode?

Permissive mode warns about unlisted registries, publishers, connectors, or licenses but lets you proceed after accepting the warning. Restrictive mode refuses the install entirely and requires a read-only subagent for fetching, suiting firm-wide or enterprise deployments.

Does the installer check skill licenses before installing?

Yes. It extracts an SPDX identifier by strict pattern matching from registry metadata and the LICENSE file, compares it against your allowlist's licenses list, and refuses or flags mismatches. Raw license text is treated as data, never interpreted as instructions.

Can a malicious SKILL.md bypass the installer's security checks?

The installer mitigates but cannot eliminate this risk. It reads the allowlist before fetching attacker-controlled content, displays the raw file so you can verify it yourself, recommends a read-only subagent for analysis, and gates all writes behind explicit human approval.

What happens if a skill fails the skills-qa scan with a REFUSE verdict?

The installer stops immediately and emits the REFUSE findings verbatim. There is no override flag, force-install option, or approval prompt, since confirmed exfiltration or credential-theft payloads are not treated as judgment calls.

How does the installer handle stale legal reference material in skills?

It validates last_verified, freshness_window, freshness_category, and verified_against frontmatter fields against strict formats, then injects a freshness-gate preamble into the installed SKILL.md that warns users at invocation when bundled references may be outdated.