agentsclimarketplace

Stata log

Skill brycewang-stanford/Auto-Empirical-Research-Skills/skills/64-tmonk-mcp-stata/skills/stata-log

Tail, read, or search a Stata log file from a previous command or background task.From its SKILL.md

Install
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stata-log

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

0.9 KB, 208 tokens by cl100k_base, as published. Nobody here has run it

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).

What ships with it: 2 files

802 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.