with-references-and-scripts

with-references-and-scripts is a skill for Claude Code, Codex from nicolasmelo1/logion. It costs 56 tokens per session (646 once invoked), scanned A, original, MIT.

A template for an agent add-on that includes instructions, reference documents, and runnable shell or Python scripts. It shows how to load detailed information only when needed and save generated files.

In plain words
What is it for?
Use it as a starting point for an add-on that runs a subprocess, such as printing a greeting, and writes an output file such as a timestamped log.
Why use it?
It gives you a ready-made structure for add-ons that need both written guidance and small helper programs. This avoids designing the file layout and execution pattern from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it as a starting point for an add-on that runs a subprocess, such as printing a greeting, and writes an output file such as a timestamped log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicolasmelo1/logion/with-references-and-scripts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nicolasmelo1/logion --skill with-references-and-scripts
Clone the repo
git clone --depth 1 https://github.com/nicolasmelo1/logion

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for with-references-and-scripts

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicolasmelo1/logion/with-references-and-scripts/github.svg)](https://agentmods.dev/skills/nicolasmelo1/logion/with-references-and-scripts)
Your own site
<a href="https://agentmods.dev/skills/nicolasmelo1/logion/with-references-and-scripts"><img src="https://agentmods.dev/badge/skills/nicolasmelo1/logion/with-references-and-scripts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for with-references-and-scripts

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicolasmelo1/logion/with-references-and-scripts"><img src="https://agentmods.dev/badge/skills/nicolasmelo1/logion/with-references-and-scripts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00646
Opus 5.5 $0.00022 $0.00258
Sonnet 5.5 $0.00011 $0.00129
Haiku 4.5 $0.00006 $0.00065

Measured 3mo ago against content hash afff553c1fc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

with-references-and-scripts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/say-hello.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/courses/with-references-and-scripts/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

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.

Read the full file on GitHub · 76 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 76 lines · 56 tokens per session scan A afff553c1fc8

Subscribe to this mod's changes

with-references-and-scripts is a skill published in the GitHub repository nicolasmelo1/logion (39 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 646 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

with-references-and-scripts compared with skills from other repositories

with-references-and-scripts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
with-references-and-scriptsnicolasmelo1/logionSkill391mo agoMITA56Claude Code, Codex
hermes-memory-providersmnemosyne-oss/mnemosyneSkill3.7ktodayMITA34Claude Code, Codex
mnemosynemnemosyne-oss/mnemosyneSkill3.7ktodayMITA22Claude Code, Codex
mnemosyne-memory-overridemnemosyne-oss/mnemosyneSkill3.7ktodayMITA101Claude Code, Codex
soulaeonfun/soul.mdSkill7203d agoMITA33Claude Code, Codex
agent-cardsthomasbek3/hermes-bot-kitSkill2712d agoMITA30Claude Code, Codex
email-draftsthomasbek3/hermes-bot-kitSkill2712d agoMITA30Claude Code, Codex