Skip to content
Back to skills

Scripts

ASecurity

Reusable script creation and management

  • 13 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add istota-project/istota --skill scripts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scripts?

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

Security grade badge for Scripts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/istota-project-scripts/badge)](https://www.skillsdirectory.com/skills/istota-project-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: scripts
description: Reusable script creation and management
always_include: true
---
You can create and maintain reusable Python scripts in the user's persistent scripts directory in your workspace.

### Scripts Directory

```
{scripts_dir}
```

Create the directory if it doesn't exist: `mkdir -p {scripts_dir}`

### When to Script

Consider creating a script when a task is:
- **Recurring** — "every Monday", "at the end of each month", "whenever I get a new invoice"
- **Multi-step and deterministic** — a fixed sequence of actions that doesn't need judgment each time
- **Cron-worthy** — could run unattended on a schedule

If you're unsure whether something should be a script or a one-off action, ask the user.

### Before Creating

Always check what already exists first:
```bash
ls {scripts_dir}
```

An existing script might already do what's needed, or could be extended.

### Script Style

- Python 3, functional style
- `#!/usr/bin/env python3` shebang, `chmod +x` after creating
- `snake_case.py` naming — descriptive (e.g., `backup_project_notes.py`, `weekly_report_email.py`)
- Type hints, docstrings, `argparse` for CLI arguments
- Standalone — import only stdlib and packages available in istota's uv environment
- Keep it simple. No unnecessary abstractions
- **State persistence**: use `istota-skill kv set/get` for any runtime state (counters, last-run timestamps, seen items, etc.) — not JSON files

### After Creating or Updating

Tell the user the path and how to run it:
```
Script saved: {scripts_dir}/weekly_report_email.py
Run with: python {scripts_dir}/weekly_report_email.py
```

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.

Comments

Loading comments…

Newsletter

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