Could you make a Claude skill for Codea zips?

I code from my phone in the backyard fairly often. There’s really no other way to do that with Claude then to use the chat interface for it.

I have to go through a bunch of steps to get a Claude chat instance to be able to see all of a Codea project at once. It would be awesome if I could just upload a zip of a project to it.

@sim do you think there’s any chance of making a Claude skill that lets it read the Lua files inside of a zipped Codea project? Would that be useful for anyone besides me lol?

@UberGoober - I’m making the assumption that Claude skill is a chat bot like Chat GPT and sounds like you have managed to make a huge project which requires loading in parts. Is that so ?

If so won’t breaking it down into includes work ? I assume there will be a limit for each iPad down to free memory and how much is required by your project/assets etc.

If your project can be divided up into stages then, as I mentioned a long time ago, a facility to have a core code and to load each project phase, run it, then end it and free up memory for the next phase would be my approach. That was the approach of the BBC computer which used the CHAIN command to essentially run separate phases of a project - only way you could do that with a BBC as they were launched with just 32K of memory.

Am I off track here ?

@sim - I have recently encountered a problem where I have tried to make a project which, in part, selects a number of items from an array, and saves them in another array, then sorts them to eliminate duplication. When I run it seems to stop the closure of the project and locks out running of any project like it’s in a permanent loop which it can’t break out of. The only way to resolve it is to close Codea and restart.

I’m trying to identify the code section that is causing this I’ll report once I’ve identified it.

Running in latest beta.

@Bri_G not exactly. When I work on a project with Claude through the chatbot it won’t really understand what to do unless I paste it the entire project at once.

To do this currently I:

  • export the whole project to the clipboard
  • paste it all into a Pages document
  • Export the pages document into a text file
  • Attach the file to my chat prompt

It’s a functional system but every time I need to update the chat, or start a new chat on the same thing, it’s a bit of a hassle.

A skill is an extra ability that Claude can load, like for example I believe it has a PDF reading skill. There are a bunch of default skills it can access but people can also custom make skills, and this is I think what Codea’s MCP version of AirCode works on.

If Claude had the ability to read Codea files directly, or even read the export zip files of Codea files directly, it would make casual iPhone development much easier. :slight_smile: