Skip to content

[FEATURE]: command that is run as a subtask if in an existing session, as the main task if in a new session #5553

Closed

Description

@IndianBoy42

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Example: I have a /summarize_paper command that prompts a researcher agent to summarize a paper. Sometimes it's because I'm in the middle of a conversation with a primary agent and I want to summarize this paper to get it's information for this conversation. Sometimes I am just creating a new session to summarize the paper (to a document) and then that's it, but for now with subtask: true it starts a conversation with whatever primary agent I had selected and then that spawns a subtask that does the summarizing, the parent agent is a complete waste of tokens

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Dec 15, 2025
  2. github-actions commented on Dec 15, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues explore similar concerns about how custom commands behave when they reference agents and whether they should adapt their execution model based on the session context (new vs existing session).

    Feel free to ignore if your specific use case differs from these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions