Skip to content
Back to skills

With References And Scripts

ASecurity

Logion course example that bundles a runnable script and a reference doc. Use as a starting template when your skill executes a small subprocess (terminal tool) and produces output files. Demonstrates progressive disclosure across SKILL.md, references/, and scripts/.

  • 38 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 2, 2026
ai-agentspythonshellbash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add nicolasmelo1/logion --skill with-references-and-scripts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of With References And Scripts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for With References And Scripts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nicolasmelo1-with-references-and-scripts/badge)](https://www.skillsdirectory.com/skills/nicolasmelo1-with-references-and-scripts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: with-references-and-scripts
description: Logion course example that bundles a runnable script and a reference doc. Use as a starting template when your skill executes a small subprocess (terminal tool) and produces output files. Demonstrates progressive disclosure across SKILL.md, references/, and scripts/.
license: MIT
compatibility: Requires a POSIX shell (bash, zsh). No network, no env vars.
metadata:
  author: logion-examples
  version: "0.1.0"
---

# Logion Course With References And Scripts

This example shows the larger shape a real course usually takes: a short `SKILL.md` for activation, a `references/` directory for detailed docs the agent loads on demand, and a `scripts/` directory for code the agent runs.

## What this course does

When an agent is asked to "say hello and record it," this skill:

1. Runs `scripts/say-hello.sh` to print a greeting.
2. Writes a timestamped record to `./outputs/hello.log` inside the course bundle.

That's it. It's a stand-in for a real skill that runs a tool and produces an artifact.

## Structure

```
with-references-and-scripts/
├── SKILL.md
├── course/
│   └── capabilities.yaml
├── references/
│   └── usage.md            # loaded only when the agent needs detail
└── scripts/
    └── say-hello.sh        # invoked via the terminal tool
```

## When to use this template

Copy this directory when your real course:

- Has a meaningful body that takes ~50-200 lines to explain.
- Bundles one or two helper scripts (Python or shell).
- Needs to write files into a known subdirectory.

If your course also needs outbound HTTP or env vars, use the upcoming `with-network-and-secrets/` example as a starting point (or extend this one).

## How to invoke

The agent reads this file at activation. To perform the task:

```
bash scripts/say-hello.sh > outputs/hello.log 2>&1
```

For detailed parameters, see [references/usage.md](references/usage.md).

## Capability declarations

This course declares:

- `tools: [file, terminal]` — needs to write a file and run a subprocess.
- `filesystem.read: [.]` — reads its own bundle.
- `filesystem.write: [./outputs]` — writes only under `outputs/`.
- No network, no env vars.

See `course/capabilities.yaml` for the exact manifest.

## What an author should change when copying

1. The `name` field in this frontmatter (must match your directory name).
2. The `description` (be specific about what + when).
3. The body of this file.
4. `references/usage.md` content (or remove the file if you don't need it).
5. `scripts/say-hello.sh` (or replace with your real script).
6. `course/capabilities.yaml` — declare only what you actually need.

Files in this skill

  • LICENSE1 KB
  • SKILL.md2.6 KB
  • course/capabilities.yaml772 B
  • references/usage.md1 KB
  • scripts/say-hello.sh254 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.