Changes this week

CodeBy Serchai · Published on · 4 steps

How to automate your daily work with free CLI agents

Guide to automating with free agents: Gemini CLI and OpenCode in scripts and scheduled tasks, Goose for flows that cross tools.

ToolsGemini CLI · OpenCode · Goose
Stack costFree
Updated

00Tools you will use

Stack: Free
Card 01/03 · Base agentFREE

Gemini CLI

3.3Fair

Google's terminal agent, open source with a generous free tier.

PriceFree
JobInvocable from any script, with a broad daily allowance and long context.
Read the review ↗
Card 02/03 · Backup agentFREE

OpenCode

4.0Good

The open source terminal agent that works with any model provider.

PriceFree
JobMIT licensed, no in-house fee: the redundancy when the other hits its ceiling.
Read the review ↗
Card 03/03 · Crossing flowsFREE

Goose

4.1Good

Block's open agent, extensible and built to automate beyond code.

PriceFree
JobExtensions that chain browser, API and services from local.
Read the review ↗

TLDR: The free agents’ quiet revolution is not in coding: it is in automating. Gemini CLI and OpenCode are invocable from any script at no cost, the first with a broad daily allowance and the second with no in-house fee, and Goose chains flows that cross tools. The errands you did by hand every week (cleaning, summarizing, checking, transforming) become commands that run alone. Total cost: zero.

his guide is for developers and technical profiles with recurring errands: the fifteen-minute tasks repeating weekly that never justified automation because writing the script cost more than doing them. Free agents change that math: the script is now described.

It is also the natural complement to the strategy in the cost of coding with AI guide: the free agent as the volume workhorse.

1. Inventory what you do by hand every week

Profitable automation starts with the inventory, not the tool. A week noting the repeated errands produces the real list:

Errand inventory · One week of noting2/5 automated
Monday's report assembled from three sourcesWeeklyAutomated
Cleanup of branches and temporary filesWeeklyAutomated
Check that environments are still healthyWeeklyIn testing
Log summary when something complainsOn demandBy hand
Data transformation between formatsMonthlyBy hand

Whatever is not here does not get automated, because you do not know how often you do it.

Good candidates share three traits: they repeat (frequency pays for the automation), they follow a pattern (even with variations that used to demand human judgment, which is exactly what the agent adds over the classic script) and they are verifiable (you can check they came out right).

Sort by frequency times duration: the twenty-minute weekly errand is worth more than the hour-long monthly one.

2. Build the base with Gemini CLI or OpenCode

The central piece is an agent invocable from the command line, and these two give it away with no fee: Gemini CLI with its broad daily allowance and long-context backing, and OpenCode with an MIT license and freedom to plug in whichever provider you want, with no in-house subscription required. Both open source, both able to take an instruction and execute it with tools.

The usage pattern is the described errand: where you used to write a fragile fifty-line script, the script is now three lines invoking the agent with the instruction (“read today’s logs, summarize the errors new since yesterday and write the summary to this file”) and the agent supplies the flexibility the classic script lacked: the format shifted slightly, the date arrives differently, and it does not break.

Keeping both configured takes minutes and gives redundancy: if one hits limits or fumbles a task, the other steps in.

3. Automate cross-tool flows with Goose

When the errand does not live in the terminal alone (it touches the browser, an API, a service), the CLI agent runs short and Goose enters: Block’s open agent whose extension system connects to your flow’s tools, built exactly for chaining tasks across systems. Free, runs locally and works with the model you choose, including the free ones from this same flow.

The task type where it shines: the three-system flow you did by hand with six tabs open. Configuring its extensions is an afternoon of technical work, and every automated flow afterwards is a natural-language commission.

The complete stack settles into layers: CLI agents for terminal errands, Goose for the crossing flows, and your paid agent (if you have one) reserved for judgment work, as the two-agent strategy dictates.

4. Schedule, verify and maintain the system

Real automation runs alone: the system’s scheduled tasks (cron or equivalent) invoke the agent at its hour, and the result appears done. That jump demands the piece hobbyists skip:

The circuit of a scheduled errand

01The hourThe scheduled task invokes the agent without anyone opening a terminal.
02The instructionThe errand described in natural language, with only the tools it needs.
03The checkThe result exists and has the expected shape, or it does not count.
04The warningIf something is off, the message arrives. Silence only means it went well.

With agents, verification can be intelligent (“check this summary mentions every error in the original log”) but the rule is classic.

Automation without verification is a scheduled breakdown.

The rule that separates a system from a patch

Maintenance is light but real: reviewing the warnings, adjusting instructions when the environment changes and pruning automations no longer used. The mature system is a silent employee doing the week’s errands, and building it cost exactly zero in tools. The whole sector lives in AI for software development.

Common mistakes

Automating what you do twice a year. The return lives in frequency: the repetition-sorted inventory prevents the hobby of automating for sport.

Scheduling without verification. Automation that fails silently is worse than manual work: the failure surfaces weeks later, damage accumulated.

Giving the agent more permissions than the errand needs. A scheduled agent with broad access is unnecessary risk: each automation with exactly its task’s permissions.

Ignoring the daily limits. Frequent automations add up requests: split across the two free agents and schedule the heavy ones at different hours to stay under the ceiling.

Frequently asked questions

Is all this really free?

The tools yes: Gemini CLI, OpenCode and Goose are free, and Gemini CLI’s daily limits cover personal automation comfortably. The real cost is the afternoon of setting it up.

What happens when the agent fumbles an errand?

That is what verification is for: the warning arrives and the errand gets done by hand that day, as always. The difference from the classic script is that the agent fails less on small variations, which was the usual cause of breakage.

Can I use this at work with company data?

With your company’s data policy in hand: free agents send content to their providers. For sensitive data, Goose with a local model keeps everything at home, in exchange for the capacity of whatever model you can run.

Where do I start this afternoon?

Install Gemini CLI or OpenCode, pick your inventory’s most repeated weekly errand and turn it into a three-line script with its verification. One automated errand running alone teaches the whole pattern.

The steps, in short

  1. Inventory what you do by hand every week

    The repeated terminal and maintenance errands are the candidates with the best return.

  2. Build the base with Gemini CLI or OpenCode

    A free agent invocable from scripts turns every errand into a command.

  3. Automate cross-tool flows with Goose

    When the task touches several systems, Goose's extensions chain the whole flow.

  4. Schedule, verify and maintain the system

    Scheduled tasks with their own verification: automation that warns when something is off.

Code

Related guides

Which tool will you pick? See the full code ranking.

See the category ranking
What do you want to do?
Assisted decision · ES/ENRequirements · price · limitations · dated sources

What do you want to do?

Tell us in the same words you would use with another person.

We keep a sanitised query for 90 days to improve the engine. Privacy.