Observed since 21 Oct, 10:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
An agent automation framework based on Codex/Claude Code
Headless Agent Automation — Python wrapper for codex/claude CLI, enabling arbitrarily complex agent automation/workflows through programmable prompts.
loop_max)parse(options)Install the aibaton SKILL using codex, then enter the following prompt:
$aibaton Find Go code files over 300 lines in the project and optimize them, extract redundant code into sub-functions following DRY principles, and update references in other files.
Output executable script:
from aibaton import run, set_default
import os
set_default(provider="codex", dangerous_permissions=True)
prompt = """Review the current file code and optimize, extract redundant code into sub-functions following DRY principles, and update references in other files."""
def get_go_files(root_dir: str, min_lines: int = 0) -> list[str]:
go_files = []
for dirpath, _, filenames in os.walk(root_dir):
for f in filenames:
if f.endswith('.go'):
fpath = os.path.join(dirpath, f)
if min_lines <= 0 or sum(1 for _ in open(fpath)) > min_lines:
go_files.append(fpath)
return go_files
if __name__ == '__main__':
par_dir = '/app/banbot'
for fpath in get_go_files(par_dir, min_lines=300):
run(f"File path: {fpath}\n\n{prompt}", cwd=par_dir, add_dirs=[par_dir], stream=True)
Run the script as prompted.
After codex uses aibaton skill, output executable script: work_flow.py
pip install aibaton
# or
uv pip install aibaton
Apache 2.0
pypistats · 38 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-21 – 2026-10-21 | 3 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-20 – 2026-10-20 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-17 – 2026-10-17 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-15 – 2026-10-15 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-14 – 2026-10-14 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-13 – 2026-10-13 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-10 – 2026-10-10 | 4 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-09 – 2026-10-09 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-06 – 2026-10-06 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-04 – 2026-10-04 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-02 – 2026-10-02 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-10-01 – 2026-10-01 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-30 – 2026-09-30 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-28 – 2026-09-28 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-27 – 2026-09-27 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-26 – 2026-09-26 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-21 – 2026-09-21 | 7 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-20 – 2026-09-20 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-07 – 2026-09-07 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-09-06 – 2026-09-06 | 6 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-31 – 2026-08-31 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-25 – 2026-08-25 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-24 – 2026-08-24 | 5 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-23 – 2026-08-23 | 3 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-22 – 2026-08-22 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-21 – 2026-08-21 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-17 – 2026-08-17 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-15 – 2026-08-15 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-14 – 2026-08-14 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-13 – 2026-08-13 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-09 – 2026-08-09 | 3 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-06 – 2026-08-06 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-05 – 2026-08-05 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-02 – 2026-08-02 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-07-28 – 2026-07-28 | 1 | 2026-10-22T10:59:47.5670542Z |
| 2026-07-27 – 2026-07-27 | 2 | 2026-10-22T10:59:47.5670542Z |
| 2026-07-24 – 2026-07-24 | 4 | 2026-10-22T10:59:47.5670542Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 28 Jan 2026 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2d7b6a0b62856f0921ee2681aad3dd7184f62afc902e08d1cf4e925266a07007