Skip to content
aFileSign in
Docs

Cline

View as Markdown

Set up aFile in Cline, 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 connect

Keep 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.json

Install the aFile skill for Cline

This saves the skill to ~/.agents/skills/afile, where Cline reads skills. Run it again to update. Add -p to put it in the current project instead.

afile add -a cline

Try it

Example request to handle in Cline:

Save this report in aFile and give me a link that works for a day.

Something not working? See Support.