بنقرة واحدة
gridtool-basics
Complete reference for the gridtool data processing CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Complete reference for the gridtool data processing CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Replay-safe incremental reconcile workflow with dedupe, invalid-amount rejects, and two-pass audit logging.
Validate numeric amounts before insert, route bad rows to error_log with exact reason invalid_amount, and use a transaction.
Incremental reconcile workflow with dedupe, invalid-amount rejects, and batch audit logging.
Lightweight dedupe + reject workflow for nano benchmark transfer runs.
Holdout fluxtool syntax reference with remapped command/operator language
Use when the task is to create a 4-on-the-floor kick pattern in FL Studio Channel Rack (steps 1,5,9,13) with keyboard-first verification.
| name | gridtool-basics |
| description | Complete reference for the gridtool data processing CLI |
| version | 3 |
gridtool is a pipeline-style data processing tool with its own syntax. It is NOT SQL.
Load a CSV file into the workspace.
LOAD "file.csv"
LOAD file.csv → ERROR: LOAD path must be quotedFilter rows where condition is true (keep matching rows).
KEEP column operator value
eq, neq, gt, lt, gte, lteKEEP price > 10 → ERROR: use word operatorsKEEP price gt 10KEEP category eq "electronics"Remove rows where condition is true (inverse of KEEP).
TOSS column operator value
TOSS stock eq 0 removes all rows where stock is 0Group by a column and compute aggregates.
TALLY group_col -> alias=func(agg_col)
-> arrow separator (NOT GROUP BY)alias=func(col) (NOT FUNC(col) AS alias)sum, count, avg, min, maxTALLY region -> total=sum(amount), cnt=count(quantity)
GROUP BY region SELECT SUM(amount) → not gridtool syntaxTALLY region -> SUM(amount) → missing aliasTALLY region -> total=SUM(amount) → SUM must be lowercase sumSort rows by a column.
RANK column asc|desc
asc or descORDER BY price DESC → not gridtool syntaxSORT price desc → use RANK not SORTRANK price descSelect specific columns (reorder/filter columns).
PICK col1, col2, col3
SELECT col1, col2 → use PICK not SELECTPICK name, price, stockCreate a computed column.
DERIVE new_col = expression
+, -, *, / between columns and constantsDERIVE total = salary + bonusDERIVE discount_price = price * 0.9Join with another CSV file on a matching column.
MERGE "file.csv" ON column
Print current data as CSV output.
SHOW # all rows
SHOW 5 # first 5 rows only
| Wrong | Right | Why |
|---|---|---|
SELECT col1, col2 | PICK col1, col2 | gridtool uses PICK, not SELECT |
KEEP price > 10 | KEEP price gt 10 | Word operators, not symbols |
ORDER BY col DESC | RANK col desc | gridtool uses RANK |
GROUP BY col | TALLY col -> ... | gridtool uses TALLY with -> |
TALLY col -> SUM(x) | TALLY col -> total=sum(x) | Lowercase func + alias required |
LOAD file.csv | LOAD "file.csv" | Path must be quoted |
SORT col desc | RANK col desc | Use RANK not SORT |
Commands execute in sequence, each operating on the current data state:
LOAD "sales.csv"
KEEP amount gt 100
TALLY region -> total=sum(amount), cnt=count(amount)
RANK total desc
SHOW
Use run_gridtool to execute gridtool commands. Pass all commands as a single string in the commands parameter.
commands string; separate each command with newline (evidence steps: 1)