# Prompt the agent (/prompting)



## Send a message [#send-a-message]

Type in the prompt at the bottom and press `enter`. For a new line, press `shift+enter` or `alt+enter`, or end the
line with `\`. The prompt grows up to 20 lines, then scrolls.

`up` and `down` go through the messages you sent before.

## Steer while it works [#steer-while-it-works]

The prompt stays open while the agent works. Press `enter` to steer: your message joins the turn and waits above the
prompt as `steering: …` until the agent reads it, as soon as its current step is done. Then it moves into the
conversation at that point, marked `while working`.

```text
use the existing TooManyRequests error, don't add a new one
```

To send something after the turn instead, press `ctrl+q`. The message waits above the prompt as `queued: …` and goes
out on its own once the turn ends. If the turn is interrupted, queued messages come back into the prompt.

To change a message before it goes, press `up` in an empty prompt. The steered messages the agent hasn't read yet and
the queued ones come back into the prompt as one, and the agent no longer gets them. Edit them and press `enter`: they
steer the turn again if any of them was steered, and wait in the queue again if they were all queued. If the turn ended
meanwhile, `enter` sends them as any message. A steered message the agent had already read stays with it, and a line
says so. Taking a steered message back works with Claude, not with Codex.

`esc` interrupts the turn.

## Mention files with @ [#mention-files-with-]

Type `@` and part of a name. Jinion completes the project's files and folders, the ones git tracks or could track, so
ignored files stay out. Outside a git repository, it lists every file but folders such as `node_modules` and `dist`.
The agent gets the file's content with your message, so it can work on it right away.

```text
@src/middleware/rate-limit.ts add a test for the window reset
```

A folder goes in without a trailing space, so you can keep typing to go inside it.

## Use a skill with $ [#use-a-skill-with-]

Type `$` to pick a skill or an MCP prompt. The list is grouped by where each comes from: the project's first, then
yours, then each plugin's and each MCP server's. It filters as you type.

```text
--------------------------------------------------------------------------------------------
 $
--- Accept edits · shift+tab ---------------------------------------------------------------
   Project
 >   review               Review the current changes for bugs and risky patterns
   Yours
     commit               Write a commit message for the staged changes
     explain <path>       Explain how a piece of code works
   github prompts
     pr-summary <number>  Summarize a pull request
   Linear prompts
     create-issue         Turn this conversation into a Linear issue
   Tab complete · Enter insert · Esc dismiss
 jinion · [M] Opus 5.5 · high · [D] code/api · ctx: 0/200K · $0.00
```

A skill can go anywhere in the message, and you can pick several:

```text
fix the navbar on mobile $make-responsive $design
```

See [Use skills and MCP servers](/skills-and-mcp).

## Paste text [#paste-text]

Text of two lines or more goes in as `[Pasted text #1 +42 lines]`, and a single line of 800 characters or more as
`[Pasted text #2 1200 chars]`. The agent gets all of it.
In the prompt, `backspace` removes the placeholder whole. Once sent, click the message to see the text in full.

## Attach images [#attach-images]

Press `ctrl+v` to attach the image on your clipboard as `[Image #1]`, or drag an image file into the terminal. PNG,
JPEG, GIF and WebP work.

<Callout>
  Clipboard images need macOS, or `wl-paste` or `xclip` on Linux. Images over 3.7 MB are scaled down on macOS and
  refused elsewhere.
</Callout>

## Attach files [#attach-files]

Drag a file into the terminal to attach it. It goes in as `[File #1 report.pdf]`, and the agent is told where the file
is, so it reads it with its own tools. In the prompt, `backspace` removes the placeholder whole.

```text
[File #1 standup.m4a] turn what we agreed on into tasks
```

Jinion first makes these readable for the agent:

| File              | What the agent gets                                           |
| ----------------- | ------------------------------------------------------------- |
| A PDF             | Its text, page by page                                        |
| An Excel workbook | Each sheet as CSV                                             |
| A recording       | What is said in it, each piece with its time                  |
| A video           | What is said in it, and a frame each time the picture changes |

While a file is read, `reading: standup.m4a · Transcribing, 40%` shows above the prompt. A message sent before the
line is gone comes back to the prompt; send it again once it is.

Recordings are transcribed on your machine with Whisper, in about a hundred languages. Its model, 574 MB, is
downloaded the first time you attach one.

A file of the project you drag in stays its path, as before, so the agent works on the file itself. Recordings,
videos, PDFs and workbooks are attached wherever they are. What you attach is kept in
[`~/.jinion/attachments`](/reference/jinion-folder).

<Callout>
  Recordings and videos need `ffmpeg`, `ffprobe` and whisper.cpp's `whisper-cli` on your `PATH`; on macOS, `brew
    install ffmpeg whisper-cpp`. Without them the file is attached as it is, and Jinion says so.
</Callout>

## Commands [#commands]

Type `/` for Jinion's own commands, such as `/model` or `/diff`. See [Commands](/reference/commands).
