Skip to content
Back to skills

Stata Log

ASecurity

Tail, read, or search a Stata log file from a previous command or background task.

  • 5,142 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
research

Security analysis

A100/100

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

Scanned September 3, 2026

npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stata-log --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stata Log?

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

Security grade badge for Stata Log
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brycewang-stanford-stata-log/badge)](https://www.skillsdirectory.com/skills/brycewang-stanford-stata-log)

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: stata-log
description: Tail, read, or search a Stata log file from a previous command or background task.
---

Parse the argument:
- First token: log file path or background task_id
- Second token (optional): search term

**If a search term is provided**, call:
```
stata_read_log(path=<first_token>, query=<second_token>, before=2, after=2, regex=False)
```
Display matching lines with context.

**If no search term**, call:
```
stata_read_log(path=<first_token>, tail_lines=50)
```
Display the last 50 lines of the log.

**If the argument looks like a task_id** (not a file path), call:
```
stata_read_log(task_id=<argument>, tail_lines=50)
```

If no argument is provided, tell the user to supply a log file path or task_id. These are returned by `stata_run` in the `log_path` field of the JSON response.

If the log is large and truncated, note the `offset` for reading more (the response includes the current byte offset).

Files in this skill

  • SKILL.md938 B
  • agents/openai.yaml195 B
  • manifest.json607 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 research →

Comments

Loading comments…

Newsletter

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