6 Posts for smart_toy Ai close

Getting used to coding with AI

A person coding at a computer with two cats looking on

I've been working with AI on work and personal coding projects for several months now. I'm no expert but I do think some of what I have been doing could be helpful to others. So let's try to describe what I've learned.

Cloud or Local

Don't use expensive models unless you really need to

Using a cloud subscription with any of the major AI services is a great way to start. Something like OpenRouter or Claude Code can be reasonably priced. But the more advanced the model, the more expensive it is. You don't have to use a frontier level model to edit text, create scripts, or do simple work. I have found relatively cheap models like DeepSeek Flash to be fast and perfectly reliable. Only switch to a more expensive model once you have found that the cheap model is failing with a complex problem.

Do what you can to protect your system

Don't allow the agent to make destructive changes to your code or system. Don't let it read your SSH keys. I'm currently using CC Safety Net.

Local can work if you have a system that can run it

I have found that much of what I'm doing with AI can be done with a local model. It can be maddening to set up and tweak settings to make things fast. But, not sending possibly sensitive data to someone else's computer is a nice benefit. Just keep in mind you still need to do the same work to protect your computer and data.

I'm currently using OpenCode and oMLX with the Qwen 3.8 27B model.

Getting started

  • Don't blindly give permission: Don't give full disk access. Protect your password, keys, and private data.

  • Check your work: Write code and ask the agent to check your work. You will be amazed at how many errors it finds. This is a great way to learn.

  • Create Docs: Ask the AI to write README files and document your code or app. Don't forget to have the AI update your docs when you make changes.

  • Create test data: Need test data for a new piece of code? Have the AI create test files or data for you.

  • Find bugs: Think you have a bug, ask the AI to verify whether it's real. It's good just to ask every new model you work with to examine the code and point out any issues.

  • Create Unit Tests: Testing your code takes too much time. Have the AI do it. And have the AI keep the tests up to date with your code changes.

  • Review what the AI wrote: When you have the AI make changes, review them. Reading what it wrote is a great way to learn. And you may catch it doing something dumb.

Go Deeper

  • Use established skills: Use third-party skills like AI Skills for Real Engineers. But don't just download and use any skill you find out there. Make sure you understand what the skill is doing. You may need to review the skill text and make sure it's not malicious.

  • Plan your work: Use a skill like Grill-Me to plan out a new piece of work. It will ask you questions to make sure you understand what you're asking for. It will write a spec and break it up into issues to be implemented.

  • Break things into testable chunks: For large changes or projects, don't try to implement them all at once. Work with the AI to break them up into steps.

  • Implement, Test, Review: Implement a piece of work. Test that work. And review what was done against the spec. Repeat. That sounds like what we've always done, right?

Local Qwen and some magic Skills

Qwen 3.8 27B

I have been using the Qwen 3.8 27B MLX based model on my local machine and it's amazing how good local models are getting. It can spend a large number of tokens reasoning, but the output from this model is really good so far.

The model I'm currently using is Jundot/Qwen3.8-27B-oQ4e-mtp. I'm running this with oMLX on a Mac Studio.

Matt Pocock skills

I've also been spending some time learning to use skills to help with software work locally. I was messing with Superpowers, but found it too broad. It's better to focus on a smaller change at a time. It just didn't feel right for me.

I recently found some videos discussing skills by Matt Pocock: Skills For Real Engineers. The skills I have used in this set have been great. They are focused on specific problems and do a good job at keeping you focused on the current task.

  • grill me and grill-with-docs are both great.
  • handoff lets you postpone work for later without losing any context you already have.
  • teach builds lessons so you can learn almost anything.
  • improve-codebase-architecture helps you with big architectural changes.

Every one of the tools I have tried has done a great job. You can find videos related to these skills and other topics on his YouTube.

"Local AI Works."
2026/07/25 2:30 PM

Options For Local AI

Siri in the iOS 27 beta is great for world knowledge and for asking about things on device that involve your personal data. This is going to be a really big release that will improve everyone's experience using Apple devices. But if you want to do programming-related tasks without paying a fortune, you have some great options.

I'm currently running oMLX and Opencode on my Mac Studio. The models I've been using the most are "Qwen3.6-35B-A3B-OptiQ-4bit" (a 35-billion parameter model compressed to 4-bit quantization) and "Qwen3.6-27B-UD-Q6_K_XL-mlx" (27 billion parameters at 6-bit quantization). It's really amazing how well these local models perform.

I've already created multiple scripts and apps using just these local models. I've found and fixed numerous issues using these tools. It can be as simple as having them review my changes and point out issues I missed. You really don't have to spend any money to do even complex work.

"Letting AI do some things."
2026/06/21 3:12 PM

AI Comfort Levels

For quite a while I have been reluctant to invest much time into using AI for more than setting alarms, timers, and adding things to my reminders. But, I've been playing around with some of the free tools lately and I'm pretty impressed with whats possible now.

Siri AI

With the beta versions of iOS 27 and MacOS 27 I have been able to ask Siri to find info buried in my personal data. The assistant has been much more useful than in the past. It can perform more complex tasks with multiple steps.

One thing Siri AI doesn't seem to be very good at is programming. They seem to have limited it for these initial releases. You can use the other popular models with X-Code now, but I haven't given that a try yet.

Codex

I have also been playing with ChatGPT and Codex. I'm only using the free version for now. It looks like it can get expensive quick. That's one of the reasons I hope Apples new OS's will be able to get close to whats possible with Codex.

Using Codex to fix filename issues

One thing I used Codex for recently was fixing the names of music video mp4s I have in my collection. There are around 4500 files in this folder. Some files are named poorly and there are even a few duplicates.

I started by asking Codex to look at the folder and verify how many files there were. Then I told it what the file name pattern should be and asked it to compile a list of files that did not meet this pattern. There were about 250 files it found that were not named correctly. I was going to turn this into a renaming script, but I asked Codex to do this for me.

Not only did Codex create the script, but it also properly renamed the files based on the pattern I previously described. It was able to smartly determine which parts were the artist name, which parts were the song name, and when there was extranous data that was ok to remove. I verified that the file was correct and ran the script in the terminal.

The next task was to identify duplicate files. It was able to find 12 or so files that might have duplicates. Some of these were live versions that I did not change. But, again it did find a few files that were duplicates, even though the file names were different.

This all saved me several hours.

Using Codex to create an application

I use Jellyfin to serve up video files, movies, tv shows, and Music Videos on our local network. I'm not really happy with most of the clients on the Apple TV. They work, but never in the way I want.

I spent a few hours over the last couple weeks creating a proof of concept client in Javascript and HTML to login to our server and play content. I was able to get shuffle play working properly for our music video library.

What I want to do is the same thing in an Apple TV App that works the way I want it to. I decided to use Codex to create the first version of this App. I described what I wanted to Codex. It created a new project for me, that almost worked. I had to tell it to fix a few things to make it work correctly in X-Code. A few minutes later I had a basic App that will let me login to our Jellyfin server, navigate through the Libraries, view items in the libraries, and play MP4s.

There were a few issues with images that I was able to get it to fix with another prompt. It was also loading all the items in the music video library at once. So I asked it to add pagination to that view. Again, in just a few minutes it made the change and had most of the functionality my prototype had.

Unfortunately that was when I received a warning that I was about to run our of usage for the month. So, in a 10-15 minutes I was able to duplicate most of what I had done by hand in 4-5 hours. Kind of amazing really.

All of this is easier to manage when you know what to ask for and how to describe what you want.

I'm constantly amazed by what these tools can and can't do. Some things that seem incredible are easy for them, while other things that we take for granted are very hard for these tools to get right. Hmm, so I wonder how much it would be to run my own models for development locally?