Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ssl-skill-normalizer

БесплатноБез исполняемых скриптовНе проверен

Normalize SKILL.md artifacts into Scheduling-Structural-Logical (SSL) JSON representations using a conservative multi-pass extraction pipeline.

githubот github★ 5 758 звёзд на GitHub

Об этом скилле

SSL Skill Normalizer

Purpose

This skill converts markdown-based skill artifacts into a structured Scheduling-Structural-Logical (SSL) representation as introduced in:

Liang et al., "From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skills", arXiv:2604.24026 (2026).

SSL addresses the core limitation of free-form skill text: it is human-readable but hard for agents to reason over, discover, and audit. By mapping each skill into three complementary layers, SSL makes skills searchable (improved MRR 0.573 → 0.707 in the paper) and risk-assessable (improved macro F1 0.744 → 0.787).


The Three SSL Layers

The representation is grounded in Schank & Abelson's theories of Memory Organization Packets (MOPs), Script Theory, and Conceptual Dependency. Each layer captures a different dimension of skill knowledge:

Layer 1 — Scheduling (When / Who)

Answers: When should this skill be invoked? By whom, given which inputs and outputs?

Fields extracted:

  • id — stable lowercase identifier
  • name — human-readable skill name
  • goal — one-sentence purpose
  • intent_signature — typed function signature (fn($input) -> $output)
  • inputs — $-prefixed named input bindings
  • outputs — $-prefixed named output bindings
  • dependencies — explicit runtime tool or library requirements
  • control_flow_features — e.g. sequential, conditional, loop
  • entry_scene — ID of the first scene to execute
  • subscene_refs — IDs of any nested/delegated scenes

Layer 2 — Structural (How / Order)

Answers: What are the macro-level execution stages and how do they connect?

Each scene is a named execution stage with:

  • id — unique within the skill
  • type — one of the restricted scene-type enum (see below)
  • goal — what the scene accomplishes
  • entry_condition — precondition for entering the scene
  • exit_condition — postcondition that must hold on exit
  • next_scene_rules — conditional transitions to the next scene ID, END_SUCCESS, or END_FAIL
  • inputs / outputs — $-prefixed bindings consumed and produced
  • entry_logic_step — ID of the first logic step in this scene

Layer 3 — Logical (What / Actions)

Answers: What atomic operations are performed, on which resources?

Each logic step is an indivisible operation with:

  • id — unique within the skill
  • scene_id — owning scene
  • action_type — one of the restricted action-type enum (see below)
  • resource_scope — one of the restricted resource-scope enum (see below)
  • description — one sentence describing the operation
  • inputs / outputs — named $-variable bindings
  • next — ID of the following step, YIELD_SUCCESS, or YIELD_FAIL

Restricted Enumerations

Scene Types

Value Meaning
PREPARE Setup: load inputs, configure environment
ACQUIRE Receive or fetch required data
REASON Analyze, infer, or plan
ACT Produce or transform primary output
VERIFY Validate outputs or preconditions
RECOVER Handle failure; retry or compensate
FINALIZE Write results, emit notifications, clean up

Action Types

Value Meaning
READ Consume data from a resource without side effects
SELECT Choose among alternatives
COMPARE Diff or rank two or more values
VALIDATE Assert a constraint or schema
INFER Derive new information via reasoning
WRITE Produce or overwrite data in a resource
UPDATE_STATE Mutate shared state
CALL_TOOL Invoke an external tool or subprocess
REQUEST Send a request to an external service
TRANSFER Move data between resources
NOTIFY Emit a message or event
TERMINATE End execution and return control

Resource Scopes

Value Meaning
MEMORY In-process working memory
LOCAL_FS Local file system
CODEBASE Source code under version control
PROCESS OS process or shell
USER_DATA User-provided or personal data
CREDENTIALS Secrets, tokens, or credentials
NETWORK Remote network resource
OTHER Any resource not covered above

Terminal Targets

  • Scene transitions: END_SUCCESS | END_FAIL
  • Logic-step transitions: YIELD_SUCCESS | YIELD_FAIL

Behavioral Requirements

General Rules

  • Only extract information directly supported by the source artifact.
  • Do not invent hidden behavior, tools, dependencies, or side effects.
  • Use restricted enum vocabularies only; never free-form strings in typed fields.
  • Reject malformed outputs instead of silently repairing them.
  • Prefer null, empty arrays, or coarse-grained classifications when evidence is weak.

Execution Pipeline

Pass 1: Scheduling Extraction

Read the source SKILL.md, then extract the scheduling layer.

Produce scheduling with all fields in Layer 1. When evidence is absent for an optional field, emit

Полный SKILL.md на GitHub

Установить ssl-skill-normalizer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
write_file
search_files
json_validate
create_artifact
run_tests

Вложенные файлы

ssl.json

FAQ

Что делает скилл ssl-skill-normalizer?

Normalize SKILL.md artifacts into Scheduling-Structural-Logical (SSL) JSON representations using a conservative multi-pass extraction pipeline.

Как установить скилл ssl-skill-normalizer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ssl-skill-normalizer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ssl-skill-normalizer с