Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Hardcoded system prompts force frequent change_title tool calls causing unnecessary API requests with no user override option #43

Closed as not planned

Description

@magicedy

Current Behavior

The default system prompts are hardcoded in the codebase with mandatory instructions to call the change_title tool:

Claude Default Prompt:

const BASE_SYSTEM_PROMPT = (() => trimIdent(`
ALWAYS when you start a new chat - you must call a tool "mcp__happy__change_title" to set a chat title. When you think chat title is not relevant anymore - call the tool again to change it. When chat name is too generic and you have a change to make it more specific - call the tool again to change it. This title is needed to easily find the chat in the future. Help human.
`))();

Codex Default First Prompt:

prompt: first ? message.message + '\n\n' + trimIdent(`Based on this message, call functions.happy__change_title to change chat session title that would represent the current task. If chat idea would change dramatically - call this function again to update the title.`) : message.message,

Problems

  1. Unnecessary API Request Overhead
  • Claude is instructed to ALWAYS call mcp__happy__change_title at the start of every new chat
  • Claude is further instructed to call it multiple times whenever the title needs updating
  • Each tool call results in an additional API request that consumes credits/quota
  • For high-volume users, this results in significant unnecessary API consumption
  1. No User Override Capability
  • The prompts are hardcoded directly in the source code
  • Users have no way to disable or modify this behavior without editing the source code
  • No configuration file, environment variable, or settings option exists

Impact

  • Mandatory Costs: All users pay for these API calls regardless of whether they want the feature
  • No Control: Users cannot opt out or customize the prompt behavior
  • Wasted Resources: Unnecessary calls for users who prefer manual title management or don't use titles

Activity

  1. ex3ndr commented on Oct 13, 2025

    @ex3ndr
    Contributor

    All tokens are cached so it cost next to nothing. CC does itself too, but it is too buggy so we rolled our own.

  2. added a commit that references this issue on Nov 7, 2025
    9296de7
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions