agentleFS
scitixscitix/siclaw/skills/platform/skill-authoring/SKILL.md

skill-authoring

Skill235 starsChanged 6 months agoApache-2.0View on GitHub

Guide for writing and improving Siclaw skills. Read this when creating or modifying a skill. Covers skill directory layout, SKILL.md format, script execution modes, and best practices.

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use observability, incident-response and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 7 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 5 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 3 projects that use this

  • jacobraskSkill

    knowledge-base

    Manage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.

    Also in 3 projects that use this

  • UnitOneAISkill

    threat-modeling

    Runs a structured STRIDE threat model on any system design, API specification, or codebase. Auto-invoked when the user discusses architecture, shares a system diagram or design document, or asks "what could go wrong?" Produces threat actor profiles, component-threat matrix, a threat register with STRIDE classification, data-flow diagram template, trust boundary identification, and prioritized mitigations mapped to MITRE ATT&CK techniques.

    Also in 3 projects that use this

  • ElasticSkill

    accessibility

    Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read this guide before creating a new skill or improving an existing one.

    line 11

“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Authoring Guide

Read this guide before creating a new skill or improving an existing one.

Directory Layout

A skill is a directory package, not a single file. The smallest valid skill is:

<skill-name>/
└── SKILL.md

Optional package files can live beside SKILL.md:

<skill-name>/
├── SKILL.md
├── scripts/        # executable .sh/.py helpers
├── references/     # markdown docs the agent can read
├── examples/       # example inputs/outputs
└── assets/         # small images or other package assets

The directory name must match the name field in SKILL.md. Use uppercase SKILL.md; lowercase skill.md is not canonical.

SKILL.md Format

---
name: <kebab-case-name>
description: >-
  One-line summary. Mention the execution tool if the skill uses scripts.
---

Followed by markdown body:

# <Title>

## Purpose
What problem this skill solves and when to use it.

## Tool
<execution tool invocation — required for script-based skills>
Example: local_script: skill="check-pod-oom", script="check.sh", args="<ns> <pod>"

## Parameters
| Parameter | Required | Description |
|-----------|----------|-------------|
| `<arg1>`  | Yes      | ...         |

## Procedure
Step-by-step actions with concrete commands.

## Examples
Concrete tool invocations with realistic parameters.

Script Execution Modes

ToolRuns whereWhen to use
local_scriptAgentBox (local)kubectl commands from outside the cluster — most common
host_scriptA host via SSHHost-level tools on a node reachable via SSH. Preferred over node_script — runs over SSH with no debug pod (lighter, leaves the node untouched)
node_scriptK8s node (host)Host tools, /proc, /sys, devices, nsenter. The fallback when the node is not an SSH host, or whenever a pod's netns is needed
pod_scriptInside a podDiagnostics inside a running container
node_script + podNode + pod's network nsHost tools + pod's network view (pass pod= — node + netns resolved automatically)

Host vs node for host-level skills. host_script and node_script take the same skill/script/args — only the target differs (host="<id>" vs node="<name>"). For a host-level skill, write the ## Tool line as host_script (preferred) / node_script (fallback) and keep the Examples in one form — the agent picks the right tool at runtime based on host_list. Do not duplicate every example across both tools.

Exception — pod's netns cannot degrade to host. A skill that enters a pod's network namespace uses node_script with pod= (a privileged debug pod with nsenter). host_script has no netns path, so these skills must stay on node_script — never offer a host_script form for them.

Best Practices

  • One skill, one purpose — don't make Swiss army knives
  • Script over inline commands — if the procedure has more than 3 steps, write a script
  • Idempotent and read-only — skills are for diagnosis, not remediation
  • Description is critical — the agent uses it to decide whether to use this skill
  • Concrete examples — at least 2 examples with realistic parameters
  • Explain expected output — describe what normal vs abnormal output looks like
  • Severity thresholds — when checking error counters, give thresholds so the agent can judge

Common Mistakes

  • Too much raw output — dump kubectl describe without filtering. Grep for relevant lines
  • Missing Tool section — without it, the agent doesn't know which execution tool to use
  • Wrong execution mode — using local_script for host-level tools (use host_script/node_script)
  • Forcing node_script for host-level skills — prefer host_script (SSH, no debug pod); fall back to node_script. Exception: pod-netns skills must stay on node_script
  • Hardcoded values — node names, namespaces should be parameters
  • No severity guidance — e.g., CRC errors: 0 = normal, 1-100 = minor, >1000 = critical

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.