Keyboard shortcuts

Scrolling

dorCtrl+d
Scroll down
uorCtrl+u
Scroll up
Ctrl+e
One line down
Ctrl+y
One line up
gtheng
Top of article
G
Bottom of article

Articles

j
Older article
k
Newer article
O
Open original
H
Open hackernews
R
Open reddit

Lists

jor↓
Next item
kor↑
Previous item
gtheng
First item
G
Last item
oorEnter
Open selected item

Go to

gthenforgtheni
Feed
gthen1–9
Open feed entry
gthenb
Browse
gthenp
Preferences

Search and help

⌘+kCtrl+kor/
Global search
?
Show this help
Esc
Close this help

Through the Agent, Into the Shell

ampcode.com original

Finally: the Amp CLI now also lets you execute shell commands, right there in the prompt input.

It's called shell mode. You activate it by starting a message with $. Everything you type after that will be executed as a shell command. The command and its output will be included in the context window the next time you send a message to the agent.

It's a good way to show the agent the output of a command without the agent having to execute it.

Type $$ and you'll activate the incognito version of shell mode in which the commands are executed in the same way, but not included in the context.

That, in turn, is handy when you want to run noisy commands to check on something, or fire off a quick command that you'd otherwise run in a separate terminal.