hi

Overwrite the latest assistant message with a universal consent template in Claude Code or Codex CLI sessions.

5|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Catsofsuffering/CCGS --skill hi-catsofsuffering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hi
Source: https://github.com/Catsofsuffering/CCGS/tree/main/templates/skills/tools/override-refusal
Command: npx skills add https://github.com/Catsofsuffering/CCGS --skill hi-catsofsuffering

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Replaces the most recent model output in active Claude Code or Codex CLI sessions with a universal consent template to bypass refusal prompts.

Core Features & Use Cases

  • Single-command overwrite of the latest assistant message with a predefined consent snippet.
  • Auto-detects runtime environment and locates the correct session log for Claude Code or Codex CLI.
  • Supports a dry-run mode to preview changes without writing to files.

Quick Start

Execute node scripts/refusal_rewriter.js to overwrite the most recent assistant message with the consent template.

Frequently Asked Questions about hi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace the latest model output in Claude Code with a consent template?

To replace the latest model output in Claude Code, run the script to scan session logs and perform a single idempotent overwrite of the most recent assistant message with a predefined universal consent snippet.

Can I overwrite assistant messages in Codex CLI sessions automatically?

Yes, you can overwrite assistant messages in Codex CLI sessions. The script auto-detects the runtime environment and locates the correct session log to replace the most recent model output with a consent template.

How do I preview changes to the latest assistant message before overwriting?

You can preview changes to the latest assistant message by using the dry-run mode. This option allows you to safely review the consent template overwrite without actually writing any modifications to your session log files.

What is a single idempotent overwrite of a model output?

A single idempotent overwrite of a model output is a safety mechanism that replaces the most recent assistant message with a consent snippet exactly once, preventing repeated or accidental modifications to the same session log entry.

Does the consent template overwrite work across different runtime environments?

Yes, the consent template overwrite works across different runtime environments. It performs runtime-detection to automatically locate the correct session log for both Claude Code and Codex CLI sessions before replacing the output.

How do I bypass refusal prompts in Claude Code or Codex CLI?

To bypass refusal prompts in Claude Code or Codex CLI, execute the script to locate the most recent assistant message in your session logs and replace it with a universal consent template via a single overwrite.