diff --git a/public/favicon.svg b/public/favicon.svg index 7ef1424..364c07f 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1 +1,10 @@ - + + \ No newline at end of file diff --git a/public/images/posts/mobile-optimizer.webp b/public/images/posts/mobile-optimizer.webp new file mode 100644 index 0000000..cc80fed Binary files /dev/null and b/public/images/posts/mobile-optimizer.webp differ diff --git a/src/content/posts/en/tune-up-android-phone-mobile-optimizer.md b/src/content/posts/en/tune-up-android-phone-mobile-optimizer.md new file mode 100644 index 0000000..6b97703 --- /dev/null +++ b/src/content/posts/en/tune-up-android-phone-mobile-optimizer.md @@ -0,0 +1,145 @@ +--- +title: "Before you buy a new phone, give your Android a tune-up" +description: "Find out what fills up or slows down your Android phone and reclaim space with mobile-optimizer, a plugin for Claude Code and Codex." +pubDate: 2026-11-30 +lang: en +translationKey: mobile-optimizer +urlSlug: tune-up-android-phone-mobile-optimizer +tags: [ai, android, claude-code, codex] +author: Fedele Mantuano +draft: false +--- + +Apps take longer and longer to open. When you try to record a video, your phone warns you that it’s running out of space. You open Settings, see a nearly full bar and wonder what you can delete without losing something you need. So you try an app that promises a one-tap clean-up, maybe even a second one. A little while later, you’re back where you started and looking up the price of a new phone. + +We built **mobile-optimizer** to help you figure out where to start before spending more money. It’s a plugin for Claude Code and Codex, two AI agents you can use on your computer. Connect the phone with a USB cable and ask, “Why is my Android phone so full?” Or pick one of the plugin’s commands to run a specific check straight away. The agent reads information from your phone, explains it in plain language and asks before making changes. There’s nothing to install on the phone. + +Imagine that you have just 3 GB free and find out that your camera videos take up 38 GB. That already gives you somewhere to start. Move 18 GB of videos to your computer and you’re back to about 21 GB free, with room to start recording again. If an app is slowing things down, the plugin can help you identify it. + +## What ADB is and why you need it + +**ADB** stands for *Android Debug Bridge*. It’s Google’s official tool for letting a computer communicate with Android. The plugin uses it to read things like free space, installed apps and system statistics and to carry out the changes you approve. For a USB connection, you grant access on the phone’s screen. [Android’s guide to ADB](https://developer.android.com/tools/adb?hl=en) + +## How to connect your phone to your computer + +You’ll need an Android phone, a Mac, Windows or Linux computer, a USB cable that carries data, **Python 3.10 or later** and a local installation of Claude Code or Codex. Some cables only charge. If your phone charges but the computer can’t see it, try another cable. + +If your phone has a USB‑C port and you need to buy a cable, choose one that matches the port on your computer. Both of these models transfer data at up to 480 Mbps. + +- **USB‑C port (oval)** — [Amazon Basics USB‑C to USB‑C, 0.9 m](https://link.amazon/B0d5gvOeV) +- **USB‑A port (rectangular)** — [Amazon Basics USB‑A to USB‑C, 0.9 m](https://www.amazon.it/dp/B085SBD8LC) + +### Install ADB on your computer + +Open Terminal on Mac or Linux, or PowerShell on Windows. Use the command for your system: + +- **macOS**, if you have Homebrew: `brew install --cask android-platform-tools` +- **Ubuntu or Debian**: `sudo apt install adb` +- **Windows**, if you have WinGet: `winget install Google.PlatformTools` + +Each command installs ADB on your computer. For example, on Windows you’ll see PowerShell download and install the Google Platform Tools package. If you use another system or would prefer a manual download, see the project guide for alternatives or get the package from Google. [Mobile-optimizer guide](https://github.com/CodeGeeksAI/mobile-optimizer#step-1-install-adb-on-the-computer) · [Download Android SDK Platform-Tools](https://developer.android.com/tools/releases/platform-tools) + +Open a new terminal window and run `adb version`. If you see something like `Android Debug Bridge version 1.0.41`, ADB is ready. To check Python, use `python3 --version` (or `python --version` on Windows). A result such as `Python 3.12.8` is fine. + +### Turn on USB debugging and allow the connection + +1. On your phone, open **Settings → About phone** and tap **Build number** seven times. On many Samsung phones you’ll find it under **Software information**. Enter your PIN if Android asks. +2. Find **Developer options** in Settings and turn on **USB debugging**. +3. Plug the phone into your computer and unlock it. When **Allow USB debugging?** appears, check that it’s your computer and tap **Allow**. +4. In your terminal, run `adb devices`. A line like `R58EXAMPLE device` means the connection works. If you see `unauthorized`, unlock the phone and accept the prompt. If the list is empty, check the cable and make sure USB debugging is on. + +Menu names vary by phone. If you get stuck, the project guide shows where to look on different brands. [Device-specific instructions](https://github.com/CodeGeeksAI/mobile-optimizer#step-2-turn-on-developer-options-on-the-phone) + +## How to install mobile-optimizer + +Install the plugin in whichever agent you use on your computer. The first command adds the Code Geeks marketplace, the list of plugins the agent can download from. The second installs mobile-optimizer. + +### In Claude Code + +Enter these two lines, one at a time, in a local **Claude Code** session: + +```text +/plugin marketplace add CodeGeeksAI/mobile-optimizer +/plugin install mobile-optimizer@codegeeks-mobile-optimizer +``` + +After the first line, you’ll see the new marketplace in the list. The second opens the mobile-optimizer details. Choose the user option to have it available in your other sessions on this computer. After installing it, start a new local session. [Claude Code plugin guide](https://code.claude.com/docs/en/plugins/install) + +### In Codex + +Enter these two lines, one at a time, in **your computer’s terminal**: + +```bash +codex plugin marketplace add CodeGeeksAI/mobile-optimizer +codex plugin add mobile-optimizer@codegeeks-mobile-optimizer +``` + +Codex recognises the marketplace after the first line. Once the second finishes, start a new local Codex session and try `$mobile-doctor` with your phone connected. [Project installation instructions](https://github.com/CodeGeeksAI/mobile-optimizer#step-5-install-the-plugin) + +## Seven commands, with an example for each + +Enter these commands **in the agent’s chat**. In Claude Code they start with `/` and may show up with the plugin name first, for example `/mobile-optimizer:mobile-doctor`. In Codex they start with `$`. You can also type the example requests as written. The results below are illustrative and follow the same phone. + +### 1. Check the connection with mobile-doctor + +`/mobile-doctor` in Claude Code · `$mobile-doctor` in Codex + +> Is my Android phone connected properly? Tell me how much free space I have. + +The agent checks that ADB is available and that the phone is connected and authorised. It might show you the model, Android version and the **3 GB of free space** we’re starting with. + +### 2. Find out what takes up space with mobile-storage + +`/mobile-storage` in Claude Code · `$mobile-storage` in Codex + +> Why do I have so little space left? Show me the largest folders and the ten biggest files. + +The report shows how much space photos, videos and other files use, then highlights the biggest folders and files. In our example, camera videos take up **38 GB**, and just one is almost **4 GB**. Now you know where to look. + +### 3. Move photos and videos with mobile-offload + +`/mobile-offload` in Claude Code · `$mobile-offload` in Codex + +> Show me which camera videos I recorded before 2026 could be moved to the Videos folder on my computer. + +The agent puts together a plan, say **18 GB of videos**, for the folder you named and asks whether you want to move or copy them. If you choose to move them, the plugin organises them by year and month and removes each original only after verifying that your computer has an identical copy. To keep everything on the phone as well, ask it to “copy only”. You can also choose an external drive or a network folder your computer can already access. + +### 4. Free up more space with mobile-cleanup + +`/mobile-cleanup` in Claude Code · `$mobile-cleanup` in Codex + +> Show me how much space I could reclaim from app caches and temporary files. Let me see the plan before you do anything. + +Caches are files that apps rebuild as needed. In our example, the plugin finds about **700 MB of cached files** and **40 MB of temporary files**. You can pick which groups to clean up. If a group contains photos or videos, such as copies of files you sent on WhatsApp, ask to see the list before you decide. The plugin requires explicit approval for those files, and deletion is permanent. + +### 5. See which apps you still use with mobile-apps + +`/mobile-apps` in Claude Code · `$mobile-apps` in Codex + +> Which large apps haven’t I opened for at least three months? Show me the list. + +You might find a **1.2 GB** game you stopped playing. If you decide to uninstall it, that will also delete its local data, such as saved games that haven’t synced. The plugin also shows which preinstalled apps it can remove from your profile and how to bring them back. + +### 6. Look into slowdowns with mobile-performance + +`/mobile-performance` in Claude Code · `$mobile-performance` in Codex + +> I have more storage now, but my phone still feels sluggish. Check which apps are using the most memory and processing power. + +The agent checks **RAM**, the memory apps use while they’re open, along with processor activity. If a video app still tops the list on a second reading, for example, you have an app to look into. If what bothers you is the transition between screens, you can ask for shorter animations. The agent applies the change with your approval and shows what changed. + +### 7. Check the phone’s condition with mobile-health + +`/mobile-health` in Claude Code · `$mobile-health` in Codex + +> Check my battery’s condition and tell me when the last security update was. + +The report might show that Android considers the battery to be in good condition and that the last security update was on **1 September 2026**. You can then check in Settings whether a newer one is available. It also shows settings worth a look, such as wireless debugging. The information comes from the indicators Android makes available and can help you decide what to check in Settings. + +## Try it before you replace your phone + +Start with `mobile-doctor` and `mobile-storage`. In a few steps you can see what’s taking up space and decide whether to move some videos, remove an app you no longer use or look into a slowdown. If storage was the issue, you’ll notice the difference when you can save photos and videos again without a low-storage warning. + +**Turn off USB debugging when you’re done.** On your phone, open **Settings → Developer options** and switch off **USB debugging**. This closes ADB access over USB until you enable it again. + +Give it a try. If you found mobile-optimizer useful or it helped you reclaim space, **give us a star on GitHub**. [Visit the mobile-optimizer repository](https://github.com/CodeGeeksAI/mobile-optimizer) diff --git a/src/content/posts/it/sistemare-telefono-android-mobile-optimizer.md b/src/content/posts/it/sistemare-telefono-android-mobile-optimizer.md new file mode 100644 index 0000000..c75afcf --- /dev/null +++ b/src/content/posts/it/sistemare-telefono-android-mobile-optimizer.md @@ -0,0 +1,145 @@ +--- +title: "Prima di cambiare telefono, prova a dare una sistemata al tuo Android" +description: "Scopri cosa riempie o rallenta il tuo telefono Android e recupera spazio con mobile-optimizer, un plugin per Claude Code e Codex." +pubDate: 2026-11-30 +lang: it +translationKey: mobile-optimizer +urlSlug: sistemare-telefono-android-mobile-optimizer +tags: [ai, android, claude-code, codex] +author: Fedele Mantuano +draft: false +--- + +Il telefono ci mette sempre più tempo ad aprire le app. Quando vuoi fare un video, ti avvisa che lo spazio è quasi finito. Apri le impostazioni, vedi una barra piena e ti chiedi che cosa puoi cancellare senza perdere qualcosa che ti serve. Allora provi un’app che promette di pulire tutto in un tocco, magari ne provi anche una seconda. Dopo un po’ sei ancora al punto di partenza e inizi a guardare quanto costa un telefono nuovo. + +Abbiamo creato **mobile-optimizer** per aiutarti a capire dove mettere le mani prima di spendere altri soldi. È un plugin per Claude Code e Codex, due agenti AI che puoi usare sul computer. Colleghi il telefono con un cavo USB e chiedi, per esempio, «Perché il mio Android è così pieno?». Oppure scegli uno dei comandi del plugin per partire subito dal controllo che ti interessa. L’agente legge i dati del telefono, te li spiega in italiano e ti chiede conferma prima di fare modifiche. Sul telefono non si installa nulla. + +Immagina di avere soltanto 3 GB liberi e di scoprire che i video della fotocamera ne occupano 38. Già questo ti dice da dove iniziare. Se riesci a trasferire 18 GB di video sul computer, torni ad avere circa 21 GB liberi e puoi ricominciare a filmare. Se invece a rallentarti è un’app, il plugin può aiutarti a individuarla. + +## Che cos’è ADB e perché serve + +**ADB** sta per *Android Debug Bridge*. È lo strumento ufficiale di Google che permette a un computer di comunicare con Android. Il plugin lo usa per leggere informazioni come lo spazio libero, l’elenco delle app e le statistiche del telefono, e per eseguire le operazioni che approvi. Per collegarsi via USB serve un’autorizzazione che dai tu sullo schermo del telefono. [Guida di Android ad ADB](https://developer.android.com/tools/adb?hl=it) + +## Come collegare il telefono al computer + +Ti servono un telefono Android, un computer con macOS, Windows o Linux, un cavo USB che trasferisca dati, **Python 3.10 o successivo** e una versione locale di Claude Code o Codex. Alcuni cavi servono solo a caricare: se il telefono si carica ma il computer non lo vede, prova con un altro cavo. + +Se il telefono ha una porta USB‑C e ti serve un cavo da comprare, scegli in base alla porta del computer. Entrambi questi modelli trasferiscono dati fino a 480 Mbps. + +- **Porta USB‑C (ovale)** — [Amazon Basics USB‑C → USB‑C, 0,9 m](https://link.amazon/B0d5gvOeV) +- **Porta USB‑A (rettangolare)** — [Amazon Basics USB‑A → USB‑C, 0,9 m](https://www.amazon.it/dp/B085SBD8LC) + +### Installa ADB sul computer + +Apri il Terminale su Mac o Linux, oppure PowerShell su Windows. Scegli il comando per il tuo sistema: + +- **macOS**, se hai Homebrew: `brew install --cask android-platform-tools` +- **Ubuntu o Debian**: `sudo apt install adb` +- **Windows**, se hai WinGet: `winget install Google.PlatformTools` + +Questi comandi installano ADB sul computer. Per esempio, su Windows vedrai PowerShell scaricare e installare il pacchetto Google Platform Tools. Se usi un altro sistema o preferisci scaricare i file a mano, trovi le alternative nella guida del progetto e il pacchetto sul sito di Google. [Guida di mobile-optimizer](https://github.com/CodeGeeksAI/mobile-optimizer/blob/main/LEGGIMI.md#passo-1-installare-adb-sul-computer) · [Download Android SDK Platform-Tools](https://developer.android.com/tools/releases/platform-tools) + +Apri una nuova finestra del terminale e scrivi `adb version`. Se compare qualcosa come `Android Debug Bridge version 1.0.41`, ADB è pronto. Per controllare Python usa `python3 --version` (su Windows anche `python --version`). Un risultato come `Python 3.12.8` va bene. + +### Attiva il Debug USB e autorizza il collegamento + +1. Sul telefono apri **Impostazioni → Informazioni sul telefono** e tocca **Numero build** sette volte. Su molti Samsung trovi questa voce sotto **Informazioni software**. Inserisci il PIN se Android te lo chiede. +2. Cerca **Opzioni sviluppatore** nelle impostazioni e attiva **Debug USB**. +3. Collega il telefono al computer e sbloccalo. Quando appare **Consentire debug USB?**, verifica che sia il tuo computer e tocca **Consenti**. +4. Nel terminale esegui `adb devices`. Se vedi una riga come `R58EXAMPLE device`, il collegamento funziona. Se leggi `unauthorized`, sblocca il telefono e accetta la richiesta. Se l’elenco è vuoto, verifica il cavo e che il Debug USB sia attivo. + +Le voci dei menu possono cambiare a seconda del modello. Se ti blocchi su un passaggio, la guida del progetto indica dove cercare sui vari telefoni. [Istruzioni per marca](https://github.com/CodeGeeksAI/mobile-optimizer/blob/main/LEGGIMI.md#passo-2-attivare-le-opzioni-sviluppatore-sul-telefono) + +## Come installare mobile-optimizer + +Installa il plugin nell’agente che usi sul computer. I primi comandi aggiungono il catalogo Code Geeks, cioè l’elenco dei plugin da cui l’agente può scaricare mobile-optimizer. I secondi installano il plugin. + +### In Claude Code + +Inserisci queste due righe, una alla volta, dentro una sessione locale di **Claude Code**: + +```text +/plugin marketplace add CodeGeeksAI/mobile-optimizer +/plugin install mobile-optimizer@codegeeks-mobile-optimizer +``` + +Dopo la prima riga vedrai il catalogo tra quelli disponibili. La seconda apre la scheda di mobile-optimizer. Per usarlo anche nelle altre sessioni sul tuo computer, scegli l’installazione per il tuo utente. Dopo l’installazione, apri una nuova sessione locale. [Guida ai plugin di Claude Code](https://code.claude.com/docs/en/plugins/install) + +### In Codex + +Inserisci queste due righe, una alla volta, nel **terminale del computer**: + +```bash +codex plugin marketplace add CodeGeeksAI/mobile-optimizer +codex plugin add mobile-optimizer@codegeeks-mobile-optimizer +``` + +Dopo la prima riga Codex riconosce il catalogo. Quando la seconda termina, apri una nuova sessione locale di Codex e prova `$mobile-doctor` con il telefono collegato. [Istruzioni di installazione del progetto](https://github.com/CodeGeeksAI/mobile-optimizer/blob/main/LEGGIMI.md#passo-5-installare-il-plugin) + +## I sette comandi, con un esempio per ciascuno + +Ora scrivi i comandi **nella chat dell’agente**. In Claude Code iniziano con `/` e possono apparire con il nome del plugin davanti, per esempio `/mobile-optimizer:mobile-doctor`. In Codex iniziano con `$`. Puoi anche scrivere direttamente le frasi degli esempi. I risultati qui sotto sono illustrativi e seguono lo stesso telefono. + +### 1. Controlla il collegamento con mobile-doctor + +`/mobile-doctor` in Claude Code · `$mobile-doctor` in Codex + +> Il mio Android è collegato correttamente? Dimmi quanto spazio libero ho. + +L’agente controlla che ADB sia disponibile e che il telefono risulti collegato e autorizzato. Per esempio, può mostrarti il modello, la versione di Android e i **3 GB liberi** da cui partiamo. + +### 2. Scopri che cosa occupa spazio con mobile-storage + +`/mobile-storage` in Claude Code · `$mobile-storage` in Codex + +> Perché ho così poco spazio? Mostrami le cartelle più grandi e i dieci file che occupano di più. + +Il report mostra quanto pesano foto, video e altri file, poi evidenzia le cartelle e i file più grandi. Nel nostro esempio i video della fotocamera occupano **38 GB** e uno solo ne pesa quasi **4 GB**. Adesso sai dove guardare. + +### 3. Trasferisci foto e video con mobile-offload + +`/mobile-offload` in Claude Code · `$mobile-offload` in Codex + +> Fammi vedere quali video della fotocamera girati prima del 2026 potrei spostare nella cartella Video del computer. + +L’agente prepara un piano, per esempio **18 GB di video**, per la cartella che hai indicato e ti chiede se vuoi spostarli o copiarli. Se scegli di spostarli, il plugin li organizza per anno e mese e rimuove ogni originale soltanto dopo aver verificato che sul computer ci sia una copia identica. Se vuoi tenere tutto anche sul telefono, chiedi «Fai solo una copia». Puoi scegliere anche un disco esterno o una cartella di rete già accessibile dal computer. + +### 4. Libera altro spazio con mobile-cleanup + +`/mobile-cleanup` in Claude Code · `$mobile-cleanup` in Codex + +> Mostrami quanto spazio posso recuperare svuotando le cache e togliendo i file temporanei. Fammi vedere il piano prima di procedere. + +Le cache sono file di servizio che le app ricreano quando servono. Nel nostro esempio il plugin trova circa **700 MB di cache** e **40 MB di file temporanei**. Puoi scegliere quali gruppi pulire. Se compare un gruppo con foto o video, come le copie dei file che hai inviato su WhatsApp, chiedi di vedere l’elenco prima di decidere. Per quei file il plugin richiede una conferma esplicita e la cancellazione è definitiva. + +### 5. Guarda quali app usi ancora con mobile-apps + +`/mobile-apps` in Claude Code · `$mobile-apps` in Codex + +> Quali app pesanti non apro da almeno tre mesi? Fammi l’elenco. + +Potresti trovare un gioco da **1,2 GB** che hai smesso di usare. Se decidi di disinstallarlo, tieni conto che verranno cancellati anche i dati locali, per esempio i salvataggi che non sono sincronizzati. Il plugin mostra anche quali app preinstallate può rimuovere dal tuo profilo e come ripristinarle. + +### 6. Indaga sui rallentamenti con mobile-performance + +`/mobile-performance` in Claude Code · `$mobile-performance` in Codex + +> Ora ho più spazio, ma il telefono va ancora a scatti. Controlla quali app stanno usando più memoria e processore. + +L’agente legge la **RAM**, la memoria che le app usano mentre sono aperte, e le statistiche del processore. Se, per esempio, un’app di video compare in cima alla lista anche alla seconda misura, hai un’app da controllare. Se invece ti danno fastidio le transizioni tra schermate, puoi chiedere animazioni più brevi. L’agente le applica dopo il tuo sì e mostra che cosa è cambiato. + +### 7. Dai un’occhiata allo stato del telefono con mobile-health + +`/mobile-health` in Claude Code · `$mobile-health` in Codex + +> Controlla lo stato della batteria e dimmi a quando risale l’ultimo aggiornamento di sicurezza. + +Il report può indicare che Android segnala la batteria in buono stato e che l’ultimo aggiornamento di sicurezza risale al **1º settembre 2026**. A quel punto puoi verificare dalle impostazioni se ce n’è uno più recente. Ti mostra anche alcune impostazioni da controllare, come il debug wireless. È una lettura degli indicatori disponibili su Android, utile per capire dove guardare nelle impostazioni. + +## Prima di cambiare telefono, prova sul tuo + +Parti da `mobile-doctor` e `mobile-storage`. In pochi passaggi puoi vedere che cosa occupa spazio e decidere se spostare qualche video, togliere un’app che non usi più o indagare su un rallentamento. Se lo spazio era il problema, la differenza si vede appena torni a salvare foto e video senza l’avviso di memoria piena. + +**A lavoro finito, disattiva il Debug USB.** Sul telefono apri **Impostazioni → Opzioni sviluppatore** e spegni **Debug USB**. In questo modo chiudi l’accesso via ADB su USB fino alla prossima volta che lo riattivi. + +Provare per credere. Se mobile-optimizer ti è piaciuto o ti ha fatto recuperare spazio, **lasciaci una stella su GitHub**. [Vai al repository di mobile-optimizer](https://github.com/CodeGeeksAI/mobile-optimizer) diff --git a/src/pages/[lang]/about.astro b/src/pages/[lang]/about.astro index 6b31330..a4fc2d7 100644 --- a/src/pages/[lang]/about.astro +++ b/src/pages/[lang]/about.astro @@ -149,6 +149,7 @@ const title = lang === 'it' ? 'Chi siamo' : 'About us';
>)}