본문으로 건너뛰기
cccskills
무료GitHub에 공개

ssl-skill-normalizer

Convert SKILL.md files into SSL JSON, a structured format describing invocation conditions, workflow stages, and individual actions. Receive a validation report covering format errors, invalid references, and rejected outputs.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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

설치 방법 보기

이럴 때 유용합니다

  • Converting skill documents into structured JSON
  • Reviewing skill stages and individual actions
  • Checking workflow references and transitions
  • Collecting validation reports for multiple skills

포함된 파일(2)

  • SKILL.md9.9 KB
  • ssl.json8.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

ValueMeaning
PREPARESetup: load inputs, configure environment
ACQUIREReceive or fetch required data
REASONAnalyze, infer, or plan
ACTProduce or transform primary output
VERIFYValidate outputs or preconditions
RECOVERHandle failure; retry or compensate
FINALIZEWrite results, emit notifications, clean up

Action Types

ValueMeaning
READConsume data from a resource without side effects
SELECTChoose among alternatives
COMPAREDiff or rank two or more values
VALIDATEAssert a constraint or schema
INFERDerive new information via reasoning
WRITEProduce or overwrite data in a resource
UPDATE_STATEMutate shared state
CALL_TOOLInvoke an external tool or subprocess
REQUESTSend a request to an external service
TRANSFERMove data between resources
NOTIFYEmit a message or event
TERMINATEEnd execution and return control

Resource Scopes

ValueMeaning
MEMORYIn-process working memory
LOCAL_FSLocal file system
CODEBASESource code under version control
PROCESSOS process or shell
USER_DATAUser-provided or personal data
CREDENTIALSSecrets, tokens, or credentials
NETWORKRemote network resource
OTHERAny 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 an empty array or null.

Requirements

  • Use only explicit evidence from the source document.
  • Preserve semantic intent without paraphrasing behavior into unsupported claims.
  • Normalize all identifiers to snake_case.

Pass 2: Scene Decomposition

Analyse the skill's execution flow and decompose it into macro-level scenes.

Requirements

  • Prefer 2–5 scenes when supported by the source. Only add more if the source describes clearly distinct phases.
  • Assign only allowed scene types from the enum table.
  • For each scene define: goal, entry_condition, exit_condition, next_scene_rules, inputs, outputs, entry_logic_step.

Constraints

  • Every next_scene_rules target must resolve to another scene ID, END_SUCCESS, or END_FAIL.
  • Include a RECOVER scene when the source describes retry or error-recovery behaviour.

Pass 3: Logic-Step Expansion

Expand each scene into its sequence of atomic logic steps.

Split a step whenever any of the following changes:

  • action type
  • resource boundary
  • execution effect
  • control-flow behaviour

Requirements

  • Assign only allowed action types and resource scopes.
  • Use $-prefixed variable bindings for all named data ($user_request, $selected_file, $generated_output).
  • Do not use unnamed or free-form intermediate variables.

Pass 4: Validation

Validate the draft SSL JSON against all of the following rules:

RuleCheck
JSON syntaxWell-formed JSON
Required fieldsAll top-level fields present
Enum membershipAll enum fields use allowed values only
Unique identifiersAll scene IDs and step IDs are globally unique
Entry pointerentry_scene references an existing scene ID
Scene entry pointerentry_logic_step references an existing step ID
Scene containmentAll referenced scene IDs exist
Logic-step containmentAll referenced step IDs exist
Transition validityAll transition targets are valid scene/step IDs or terminal values
Graph integrityNo unreachable scenes or dangling references

Failure Handling

  • Retry malformed generations within a bounded retry budget (recommend ≤ 3 retries).
  • Record each validation failure with the specific rule that was violated.
  • Reject records that remain invalid after retries; do not silently emit invalid JSON.

Reporting

Generate a normalization report containing:

  • processed artifact count
  • valid SSL count
  • rejected SSL count
  • parse failures
  • schema failures
  • graph failures
  • enum failures
  • retry counts

Include per-artifact diagnostics with the specific Pass-4 rule that caused rejection.

Do not expose secrets or credentials in reports.


Success Criteria

The skill succeeds when:

  • a valid SSL JSON artifact is produced
  • all references resolve correctly
  • all enum values are valid
  • the output passes all Pass-4 validation rules
  • the output remains grounded in the source artifact with no invented behaviour

The skill fails when:

  • required graph structures are missing
  • transitions are invalid
  • unsupported inference is required to fill required fields
  • validation errors remain unresolved after retries

Output Expectations

Primary Output

A schema-valid SSL JSON file named ssl.json placed alongside the source SKILL.md. Top-level keys: scheduling, scenes, logic_steps.

Secondary Output

A validation and normalization report summarizing accepted artifacts, rejected artifacts, per-artifact validation diagnostics, and retry behaviour.


Safety Constraints

  • Never invent credentials or external systems.
  • Never infer unstated side effects.
  • Never fabricate execution logic not present in the source.
  • Never silently repair invalid graph structures.
  • Never emit malformed JSON intentionally.
  • Keep normalization deterministic where possible.

Reuse Instructions

To apply this skill to a SKILL.md artifact:

  1. Invoke this skill with skill_path pointing to the target SKILL.md.
  2. The normalizer runs all four passes in sequence.
  3. If Pass 4 fails, the RECOVER pass retries generation up to the retry budget.
  4. The resulting ssl.json is written alongside the source file.
  5. Review the validation_report output to confirm acceptance.

For batch normalization, invoke this skill once per artifact and aggregate the per-artifact reports.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Coordinate work across AI agents with shared rules for locating team files, recording decisions and their reasons, and requesting help. It also defines who owns revisions after a reviewer rejects an artifact.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Locate team files across separate working directories
  • Record decisions that affect other agents
  • Request input from another specialist
github/gh-aw5.4천2026년 10월 19일 업데이트

Set shared development rules for an agent team: keep specific agent names out of product code, tests, and CI configuration, verify affected tests before finishing, and record lessons learned from mistakes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Share development rules across multiple agents
  • Keep team-specific agent names out of code and tests
  • Check affected tests before declaring work complete
github/gh-aw5.4천2026년 10월 19일 업데이트

Routes requests to design, create, update, debug, or upgrade GitHub Agentic Workflows to the appropriate instructions. It helps the agent select a workflow-specific procedure and apply any additional rules defined for the repository.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Designing a new workflow through questions
  • Investigating failed runs and recurring errors
  • Upgrading workflows and addressing deprecations
github/gh-aw5.4천2026년 10월 19일 업데이트

Prepare architecture proposals before implementation so the team can agree on a direction. Organize evidence, technical choices, effects on existing work, risks, and the first release’s scope into a document with clear recommendations and decision owners.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Proposing a major architecture change
  • Replanning milestones after a foundation change
  • Comparing technical options before seeking approval
github/gh-aw5.4천2026년 10월 19일 업데이트

Update the gh-aw-firewall version used by gh-aw, rebuild generated files, and review release notes and configuration schemas, which define valid settings. It guides related code and test updates while identifying follow-up work that remains.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Updating the firewall version used by gh-aw
  • Reviewing release notes for integration changes
  • Checking configuration schema differences
github/gh-aw5.4천2026년 10월 19일 업데이트

Review git and gh operations in gh-aw workflows to check credential availability for each repository. Identify missing token handoffs, risky expansions of limited checkouts, and error handling needed where credentials are intentionally unavailable.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing git operations after repository checkout
  • Checking tokens for private cross-repository access
  • Reviewing sparse and shallow checkout changes
github/gh-aw5.4천2026년 10월 19일 업데이트

github의 스킬 모두 보기

이 스킬의 문제 신고