Skip to content
Agentmart
Submit a tool

skila

Distill in-context Claude Code session memory into production-ready Anthropic-spec skill packages.

Skill by luyao618

IndexedMIT★ 3
Write a review

Chalk Labs

Need help deploying skila?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/luyao618-skila

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Distill in-context Claude Code session memory into production-ready Anthropic-spec skill packages. Invoke /skila whenever the user types /skila or asks to distill the current session into reusable skills. Presents a multi-select of [NEW@global], [NEW@local], and [UPDATE→<existing>] proposals, runs validate + lint gates, and writes complete skill packages (SKILL.md + scripts/ + references/ + assets/ as needed) to ~/.claude/skills/ or <repo>/.claude/skills/. Also use when: user says 'capture this workflow', 'save this as a skill', or 'add this to my skill library'.

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/skila

What's inside

Skill name
skila
Description
Distill in-context Claude Code session memory into production-ready Anthropic-spec skill packages. Invoke /skila whenever the user types /skila or asks to distill the current session into reusable skills. Presents a multi-select of [NEW@global], [NEW@local], and [UPDATE→<existing>] proposals, runs validate + lint gates, and writes complete skill packages (SKILL.md + scripts/ + references/ + assets/ as needed) to ~/.claude/skills/ or <repo>/.claude/skills/. Also use when: user says 'capture this workflow', 'save this as a skill', or 'add this to my skill library'.
License
MIT
Instructions
214 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • compatibility: must be text of at most 500 characters

Files (10)

  • SKILL.md
  • SKILL.md.tmpl · assets/
  • prompt-templates.md · assets/prompts/
  • proposal-row.tmpl · assets/
  • proposal-criteria.md · references/
  • quality-bar.md · references/
  • skill-creator-schema.md · references/
  • lint.mjs · scripts/
  • scan.mjs · scripts/
  • validate.mjs · scripts/

SKILL.md (first lines)

## Overview

**skila** is a TypeScript Claude Code plugin that continuously evolves a
personal skill library from live session memory. It inverts every learner
gap identified in v1: no Python, no fire-and-forget distillation, no silent
overwrites, and no opaque quality gates.

---

## When `/skila` Fires

The `/skila` slash command is the **primary trigger**. Execute this procedure
only when:

1. The user explicitly invokes `/skila`, OR
2. The user says "capture this workflow", "save this as a skill", or
   "add this to my skill library".

If loaded by any other means, do nothing and return immediately.

---

## Distill Workflow

### Step 1 — Read the Proposal Criteria

Read `references/proposal-criteria.md`. Apply the three criteria as a
disjunction (any one criterion suffices for promotion):

- **Criterion 1**: Multi-step, multi-tool workflow that succeeded.
- **Criterion 2**: Reusable workflow likely to recur across sessions.
- **Criterion 3**: User correction or stated preference that should persist.

Extract candidates from the agent's **current in-context conversation memory
only** — do NOT read `~/.claude/projects/` or any JSONL transcript files.

### Step 2 — Inventory Scan

Run the inventory scanner to discover installed skills:

```
node skills/skila/scripts/scan.mjs
```

Capture the JSON list of `{name, description, scope, path}` objects.
If the script exits non-zero, surface stderr and abort.

### Step 3 — LLM Judge Pass

For each distilled candidate, classify as `[NEW]` or `[UPDATE→<name>]`
using the current inventory (Step 2) and the last 30 tool-trace entries
from the session. Emit `[UPDATE→X]` only when X exactly matches a `name`
in the inventory. Apply the Wave-1 soft cap of 8 rows; collapse excess into
`[+N more low-confidence candidates omitted]`.

Row format (see `assets/proposal-row.tmpl` for exact template):
```
[NEW@global]     <proposed-name>     <one-line reason>
[NEW@local]      <proposed-name>     <one-line reason>
[UPDATE→X]       X                   <one-line reason>
[UPDATE→X@staging]  X               <one-line reason> (in staging)
```

### Step 4 — Validate Gate (BLOCKING)

For each approved row, draft a SKILL.md using `assets/SKILL.md.tmpl`.
Run the validator:

```
node skills/skila/scripts/validate.mjs <draft-path>
```

If validate exits non-zero, surface all errors and **do not write** the
skill to `~/.claude/skills/`. Fix errors before proceeding.

### Step 5 — Lint Gate (Advisory)

Run the linter on each approved draft:

```
node skills/skila/scripts/lint.mjs <draft-path>
```

Lint warnings are advisory — they never block a proposal, but append
`(WARN: <reason>)` inline next to the row in the multi-select UI.

### Step 6 — Write to Staging

Validated skills are written to `~/.claude/skills/.draft-skila/<name>/`.
The frontmatter MUST include `skila.status: staging`. The web UI
(`skila serve` → port 7777) shows staged skills for review before promotion.

### Step 7 — User Approval + Promotion

Present the multi-select AskUserQuestion with all rows. For each approved
selection:

- `[NEW@global]` → write to `~/.claude/skills/<name>/`
- `[NEW@local]` → write to `<cwd>/.claude/skills/<name>/`
- `[UPDATE→X]` → bump `skila.version`, append to `skila.changelog`,
  set `skila.parentVersion` to prior version, write to published path.
- `[UPDATE→X@staging]` → write to staging tier; explicit `/skila promote`
  or web UI action required to replace the published version.

---

## Quality Bar

Read `references/quality-bar.md` before accepting any proposal. The three
structural rules are:

1. **Deterministic procedures → `scripts/`**: If a workflow step is a
   deterministic, repeatable Node script (FS walk, frontmatter parse, regex
   validation), ship it in `scripts/` and reference it by path in SKILL.md.
   Use `.mjs` wrappers that delegate to `node dist/cli.js`.

2. **Domain knowledge → `references/`**: Stable, enumerable knowledge
   (schema specs, decision criteria, error tables) goes in `references/`.
   SKILL.md body must direct the agent to read the file.

From luyao618/skila, MIT.

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Apr 19, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from luyao618

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get skila running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying skila?

CallGet help
Cite this page

skila skill. Agent Mart. https://agentmart.dev/skills/luyao618-skila (last updated 2026-10-24)