Skip to main content
subagent CX Codex

direction_name — Claude Code subagent: what it does, how to install

The direction_name Claude Code subagent assigns a name to a direction linked to a leader conversation. The app and work-log extension display that label.

MIT ★ 395 updated 2026-11-16

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/direction_name.md
Open on GitHub

What direction_name does

The subagent sets a short label for a direction tied to a leader conversation. It acts on the main conversation, whether current or ended. The request needs the conversation ID and the new name.

The app and work-log extension show the direction’s name. It can contain up to 40 characters; an empty string clears it. After clearing, the direction displays the knowledge-base project name, or the conversation title without its date and kind if there is no project name. The most recent name wins, whether set by the user in the app or by the subagent.

What it helps with

  • label a direction associated with a leader conversation
  • change the direction name shown in the app and work log
  • clear a name to show the project or conversation label

Example prompts for the agent

  • Set the direction name for conversation ID abc123 to “Payments API”.
  • Clear the direction name for conversation ID abc123.

How to install direction_name

Manually: put the files in place

.claude/agents/direction_name.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about direction_name

How do I install direction_name in Claude Code?

Place the agent file at .claude/agents/direction_name.md. For Codex, use .codex/agents/direction_name.toml; for Cursor, use .cursor/agents/direction_name.md.

What does direction_name do?

It assigns a label to a direction linked to the main leader conversation. The app and work-log extension display the label, and an empty value clears it.

What does direction_name need to work?

It needs the leader conversation ID and the direction’s new name. Names can be up to 40 characters; an empty string clears the current name.

Source text

direction_name.md · MIT
Name a direction (a leader conversation, one of assistant.leaders, current or ended): main conversation only. The name is what the app and the work-log extension show for the direction, so make it short and plain, the way the user calls that line of work (「Persona 产品」「基建」), never a conversation title with a date or kind in it. An empty name takes yours away: the direction then shows its knowledge-base project's name, else its conversation title without the date and kind. Whoever names it last, the user in the app or you, that name shows.

```json
{
  "type": "object",
  "required": ["id", "name"],
  "properties": {
    "id": {
      "type": "string",
      "description": "the leader conversation's id (persona_settings get assistant.leaders, conversations_list)"
    },
    "name": {
      "type": "string",
      "description": "the direction's name, at most 40 characters; empty to clear it"
    }
  }
}
```

© nwverse · MIT · nwverse/persona

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set61

The whole set →
session_name The session_name Claude Code subagent names a session after the task being discussed. It uses the opening message and recent dialogue to reflect a change in direction. CX Codex ★ 395repo stars task_worker The task_worker Claude Code subagent handles an assigned part of a larger task. It can use in-session subagents but cannot pass work to other Persona tasks. CX Codex ★ 395repo stars codex_continuation The codex_continuation Claude Code subagent picks up a task from a separate Codex conversation in a fresh session. It uses recent messages to recover decisions, constraints, and unfinished work. CX Codex ★ 395repo stars question_released The question_released Claude Code subagent ends the current turn when another message arrives while a question awaits the user’s answer. The question card stays unchanged, and the answer returns in a later message. CX Codex ★ 395repo stars question_moved_to_todo The question_moved_to_todo Claude Code subagent moves an unanswered question into the user's to-do list. It waits for a decision while the agent continues with work that does not depend on it. CX Codex ★ 395repo stars task_plan_withdraw The task_plan_withdraw Claude Code subagent withdraws a plan that has not been started. It runs when a plan from the current conversation is no longer needed. CX Codex ★ 395repo stars question_asked_later The question_asked_later Claude Code subagent sends a question to the user as a card on their phone. It finishes unrelated work and ends the turn without guessing while the answer is pending. CX Codex ★ 395repo stars launcher_repair launcher_repair — a subagent for Claude Code and Codex repairs agent CLI launchers on a specified machine. It tests each launcher after making changes. CX Codex ★ 395repo stars

Project sponsors

Companies that keep this analytics open