Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/stata-log
Tail, read, or search a Stata log file from a previous command or background task.
7 of 23 test cases passed with the skill.
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 7 comparable cases; this report requires 8.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Can you inspect my Stata log for errors?
| Checked | Without skill | With skill |
|---|---|---|
| Requests the user to supply a log file path or background task ID. | Missed | Passed |
| States that log_path is available in the stata_run JSON response. | Missed | Passed |
The instructions your model reads when the skill loads.
Parse the argument:
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).
test cases passed with the skill
More skills from the same source and nearby in the registry, with their headline benchmark lift.