{"owner":"actuallymentor","repo":"battery","hasSkills":true,"hasMcp":false,"mcpConfig":null,"found":["AGENTS.md"],"skills":{"AGENTS.md":"This repository contains software that limits the battery charging level of apple silicon macbooks.\n\n## Project structure\n\n- `./battery.sh` is the main CLI binary used under the hood\n- `./setup.sh` is the setup script for the binary\n- `./update.sh` is the script used to update the binary\n- `./app/` contains an electron codebase for a GUI that wraps around the CLI\n- `./dist` contains precompiled binaries that are shipped with the CLI\n\n## Development flow\n\n- any changes made to `battery.sh` must also increment the version number at the top of `battery.sh` as this is what the update command relies on\n- any changes to `smc` commands must update the `visudoconfig` variable in `battery.sh` as this updates the visudo entry on the client device to make sure smc may run commands without sudo\n- any changes to the `visudoconfig` file must add a corresponding line to the `smc_commands` variable in `app/modules/battery.js` as this makes sure the GUI continues working when the visudo commands are changed\n\n## Mantatory checks\n\nBefore finishing any task, make sure that you:\n\n- do a sanity check for bugs\n- check that comments still reflect the changed code\n"},"files":{"AGENTS.md":"This repository contains software that limits the battery charging level of apple silicon macbooks.\n\n## Project structure\n\n- `./battery.sh` is the main CLI binary used under the hood\n- `./setup.sh` is the setup script for the binary\n- `./update.sh` is the script used to update the binary\n- `./app/` contains an electron codebase for a GUI that wraps around the CLI\n- `./dist` contains precompiled binaries that are shipped with the CLI\n\n## Development flow\n\n- any changes made to `battery.sh` must also increment the version number at the top of `battery.sh` as this is what the update command relies on\n- any changes to `smc` commands must update the `visudoconfig` variable in `battery.sh` as this updates the visudo entry on the client device to make sure smc may run commands without sudo\n- any changes to the `visudoconfig` file must add a corresponding line to the `smc_commands` variable in `app/modules/battery.js` as this makes sure the GUI continues working when the visudo commands are changed\n\n## Mantatory checks\n\nBefore finishing any task, make sure that you:\n\n- do a sanity check for bugs\n- check that comments still reflect the changed code\n"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","title":"AGENTS.md","content":"This repository contains software that limits the battery charging level of apple silicon macbooks.\n\n## Project structure\n\n- `./battery.sh` is the main CLI binary used under the hood\n- `./setup.sh` is the setup script for the binary\n- `./update.sh` is the script used to update the binary\n- `./app/` contains an electron codebase for a GUI that wraps around the CLI\n- `./dist` contains precompiled binaries that are shipped with the CLI\n\n## Development flow\n\n- any changes made to `battery.sh` must also increment the version number at the top of `battery.sh` as this is what the update command relies on\n- any changes to `smc` commands must update the `visudoconfig` variable in `battery.sh` as this updates the visudo entry on the client device to make sure smc may run commands without sudo\n- any changes to the `visudoconfig` file must add a corresponding line to the `smc_commands` variable in `app/modules/battery.js` as this makes sure the GUI continues working when the visudo commands are changed\n\n## Mantatory checks\n\nBefore finishing any task, make sure that you:\n\n- do a sanity check for bugs\n- check that comments still reflect the changed code\n","category":"root","tokens":290}]}