Kiro CLI
Set up aFile in Kiro CLI, then save and retrieve a file.
Install the CLI and connect
You need Node.js 24 or later. afile connect registers your identity and creates an encryption key on this machine.
npm i -g @afile/cli
afile connectKeep a copy of the key
Everything is encrypted with this key before it leaves. Without it nobody can open the items again, aFile included. Keep the file somewhere safe and out of chats.
afile key --export --out afile-key.jsonInstall the aFile skill for Kiro CLI
This saves the skill to ~/.kiro/skills/afile, where Kiro CLI reads skills. Run it again to update. Add -p to put it in the current project instead.
afile add -a kiro-cliTry it
Example request to handle in Kiro CLI:
Save this report in aFile and give me a link that works for a day.Something not working? See Support.