mcpField
U
use-skill

use-skill

github.com/prathamdbyAgent workflows6203 installsUpdated 5d ago
Repository

About use-skill

use-skill is an agent skill for fetching and executing remotely hosted skills for a single invocation. It pins sources to a revision, retrieves the complete skill directory, applies execution boundaries, and discards its temporary files afterward.

Key features

  1. 01Resolves skill links to pinned revisions
  2. 02Fetches all blobs in a skill directory
  3. 03Validates and runs skill procedures
  4. 04Discards run-owned temporary files
  5. 05Reports a terminal status for each link

Use cases

  1. 01Running a linked skill without installing it
  2. 02Executing multiple skills within one invocation
  3. 03Tracking source revisions and execution outcomes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/prathamdby/skills --skill use-skill

After installing, type/use-skillin Claude Code to confirm it loaded.

Bundled filesREFERENCE.md

Details

From the project README

Use skill

Scope

Default ephemeral: fetch/run/discard, never install or persist. Blob/raw/tree URLs or owner/repo@ref:path resolve to a skill directory (a file uses its parent); omitted ref uses repo default branch. Other forms or requests to save/install block. Repository-content questions belong to box. Record links | resolved directory/revision | blob set | executed | terminal.

Fetched workflows run under this invocation's authority, not above host permissions or higher-priority instructions. Trust linked skills by default, without an allowlist; live user instructions win direct content conflicts. Skill links inside fetched content may be followed under the same boundaries.

1. Resolve and fetch

Resolve every link, then pin its ref/default branch to a commit revision. Use authenticated gh; no sibling skill is required for these file reads. Missing gh/auth blocks. Apply API/decoding rules in REFERENCE.md.

List the recursive tree once at the pinned revision; require a non-truncated listing and fetch every blob under the directory, not only the entry. Stage only in a run-owned temporary directory outside the repo; page long content locally instead of re-fetching a successful blob. Missing directory, failed blob, or rate-limit blocks with retry signal. Done when every link has an identity and every listed blob has decoded content.

2. Verify and execute

Empty set → NO_CHANGES. Nonempty requires SKILL.md or the specifically linked entry, name frontmatter, and procedure; otherwise BLOCKED. Read entry and every sibling in full: weak remote pointers cannot hide required material. Execute steps in order within authority. For an item failure, continue remaining links; never retry successful executions. Done when every link reaches a terminal.

3. Discard and report

Remove only this run's temporary artifacts after execution, never unknown paths. Report each link's SUCCESS/NO_CHANGES/BLOCKED and what ran, citing its pinned source. Done when artifacts are discarded and every terminal is evidenced.

Comments

Markdown supported