<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn" -->

---
title: I gave a coding agent my messy Downloads folder and one...
description: A developer used a locally run coding agent to build a file organizer for a messy Downloads folder. Running Qwen3.6 through OpenCode on llama.cpp with a 128K...
canonical: https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I gave a coding agent my messy Downloads folder and one instruction, and it built the file organizer I'd been putting off for years | daily.dev
og:description: A developer used a locally run coding agent to build a file organizer for a messy Downloads folder. Running Qwen3.6 through OpenCode on llama.cpp with a 128K...
og:url: https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn
og:image: https://api.daily.dev/og/posts/yxLon6xGN.png
og:image:alt: I gave a coding agent my messy Downloads folder and one instruction, and it built the file organizer I'd been putting off for years
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I gave a coding agent my messy Downloads folder and one instruction, and it built the file organizer I'd been putting off for years

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 3 min read · 3 upvotes · 0 comments

## Summary

A developer used a locally run coding agent to build a file organizer for a messy Downloads folder. Running Qwen3.6 through OpenCode on llama.cpp with a 128K context window, the agent wrote the tool in under three minutes using only Python's standard library, so it works offline. It grouped 62 loose files into eight folders, with 42 images making up most of the pile, and added preview and undo features per the prompt. The script had a bug checking file size after the move, and it skipped the 'keep it sorted' requirement, so the developer had Claude fix the undo log and add a watch mode. Unfinished Chrome downloads with .crdownload extensions are left untouched.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction>

## Questions this post answers

### Can I run a coding agent locally with llama.cpp and OpenCode to write scripts offline?

Yes, OpenCode is a free, open-source coding agent that runs in a terminal and can be paired with a locally hosted model via llama.cpp. One setup used a Qwen3.6 model with a 128K context window and coding-focused sampler settings, running on an RTX 4070 Ti Super with 16GB of VRAM, to generate a working Python script entirely offline.

_Developers weighing local versus cloud coding agents can compare real setups like this on daily.dev._

### What hardware do you need to run a local coding agent like Qwen3.6 for scripting tasks?

An RTX 4070 Ti Super with 16GB of GDDR6X, a Ryzen 5 7600X, and 32GB of DDR5 was enough to run Qwen3.6 locally through llama.cpp with a 128K context window, generating a complete Python automation script in about two minutes and 36 seconds.

_daily.dev helps developers track what GPU specs are actually enough for local AI coding setups._

### Why would an AI-generated undo or preview feature for a file-moving script fail?

In one case the script checked a file's size at its old location after the file had already been moved, breaking the undo log, and it also failed to implement an ongoing 'keep it sorted' watch feature that was explicitly requested, requiring a second model to review and patch the logic.

_Anyone reviewing AI-generated automation scripts can follow similar debugging walkthroughs on daily.dev._

## Similar posts on daily.dev

- [I put a local model in charge of naming and filing every download, and my Downloads folder has been empty for a month](https://daily.dev/posts/i-put-a-local-model-in-charge-of-naming-and-filing-every-download-and-my-downloads-folder-has-been--ugq79dive) · XDA Developers · 0 upvotes · 0 comments
- [My local LLM now names and sorts every screenshot I take, and I'll never manually organize them again](https://daily.dev/posts/my-local-llm-now-names-and-sorts-every-screenshot-i-take-and-i-ll-never-manually-organize-them-agai-c2jhagn6w) · XDA Developers · 0 upvotes · 0 comments
- [I gave a coding agent my old Bash scripts, and it turned them into one tool I actually use](https://daily.dev/posts/i-gave-a-coding-agent-my-old-bash-scripts-and-it-turned-them-into-one-tool-i-actually-use-cytr0edgl) · XDA Developers · 2 upvotes · 0 comments
- [Writing tools to download everything](https://daily.dev/posts/writing-tools-to-download-everything-sqdiiasjq) · Planet Python · 0 upvotes · 0 comments

---

Tags: [#vibe-coding](https://daily.dev/tags/vibe-coding), [#local-ai](https://daily.dev/tags/local-ai), [#qwen](https://daily.dev/tags/qwen), [#opencode](https://daily.dev/tags/opencode), [#llama-cpp](https://daily.dev/tags/llama-cpp)

[View this post on daily.dev](https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I gave a coding agent my messy Downloads folder and one instruction, and it built the file organizer I'd been putting off for years","url":"https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn"},"datePublished":"2026-11-24T19:01:35.291Z","dateModified":"2026-11-24T19:02:09.868Z","description":"A developer used a locally run coding agent to build a file organizer for a messy Downloads folder. Running Qwen3.6 through OpenCode on llama.cpp with a 128K...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e6dbc71aded6f3adde2a169b19a6812b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e6dbc71aded6f3adde2a169b19a6812b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"vibe-coding,local-ai,qwen,opencode,llama-cpp","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"I gave a coding agent my messy Downloads folder and one instruction, and it built the file organizer I'd been putting off for years"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-gave-a-coding-agent-my-messy-downloads-folder-and-one-instruction-and-it-built-the-file-organizer-yxlon6xgn#faq","mainEntity":[{"@type":"Question","name":"Can I run a coding agent locally with llama.cpp and OpenCode to write scripts offline?","acceptedAnswer":{"@type":"Answer","text":"Yes, OpenCode is a free, open-source coding agent that runs in a terminal and can be paired with a locally hosted model via llama.cpp. One setup used a Qwen3.6 model with a 128K context window and coding-focused sampler settings, running on an RTX 4070 Ti Super with 16GB of VRAM, to generate a working Python script entirely offline. Developers weighing local versus cloud coding agents can compare real setups like this on daily.dev."}},{"@type":"Question","name":"What hardware do you need to run a local coding agent like Qwen3.6 for scripting tasks?","acceptedAnswer":{"@type":"Answer","text":"An RTX 4070 Ti Super with 16GB of GDDR6X, a Ryzen 5 7600X, and 32GB of DDR5 was enough to run Qwen3.6 locally through llama.cpp with a 128K context window, generating a complete Python automation script in about two minutes and 36 seconds. daily.dev helps developers track what GPU specs are actually enough for local AI coding setups."}},{"@type":"Question","name":"Why would an AI-generated undo or preview feature for a file-moving script fail?","acceptedAnswer":{"@type":"Answer","text":"In one case the script checked a file's size at its old location after the file had already been moved, breaking the undo log, and it also failed to implement an ongoing 'keep it sorted' watch feature that was explicitly requested, requiring a second model to review and patch the logic. Anyone reviewing AI-generated automation scripts can follow similar debugging walkthroughs on daily.dev."}}]}
```

