Skip to main content
rule CX Codex

dsh-cc-compat.en — Claude Code rule: setup and roles

dsh-cc-compat.en is a Claude Code rule that keeps DSH role switches, tool names, and Stop conversion aligned across sessions.

Apache-2.0 ★ 262 updated 2026-11-17

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/dsh-cc-compat.en.md
Open on GitHub

What dsh-cc-compat.en does

The dsh-cc-compat.en rule keeps DSH compatibility behavior in run.py: role switches and tool names remain available, while Stop is converted for the target flow. It also reuses helpers for turn and busy-state metadata.

This is not a separately registered hook. Session records go through the packaged dshlog.py, with no dependency on author-local files. Its CLI needs python3, a DSH sessions directory, and a hook file: python3 dsh-cc-compat.py --sessions <DSH_HOME>/sessions <hook.py>.

What it helps with

  • retain DSH role switches in run.py
  • preserve tool names across the compatibility flow
  • convert Stop for the target session format
  • reuse turn and busy-state metadata helpers
  • process session logs through packaged dshlog.py

Example prompts for the agent

  • Keep the DSH role switches and tool names while running run.py.
  • Convert Stop and reuse the turn and busy-state metadata helpers.
  • Run the session CLI with python3 dsh-cc-compat.py --sessions <DSH_HOME>/sessions <hook.py>.

How to install dsh-cc-compat.en

Manually: put the files in place

.claude/rules/dsh-cc-compat.en.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about dsh-cc-compat.en

How do I install dsh-cc-compat.en in Claude Code?

Add the rule at .claude/rules/dsh-cc-compat.en.md.

What does dsh-cc-compat.en do?

It preserves DSH role switches and tool names, converts Stop, and reuses helpers for turn and busy-state metadata.

What does dsh-cc-compat.en need to run?

The CLI needs python3, a DSH sessions directory, and a hook file: python3 dsh-cc-compat.py --sessions <DSH_HOME>/sessions <hook.py>. Session logs use the packaged dshlog.py.

Source text

dsh-cc-compat.en.md · Apache-2.0
DSH compatibility helper, not a separately registered hook. run.py retains role switches, tool names and Stop conversion, and reuses turn/busy metadata helpers. Session logs use packaged dshlog.py with no author-local dependency. CLI: python3 dsh-cc-compat.py --sessions <DSH_HOME>/sessions <hook.py>.

© zuiho-kai · Apache-2.0 · zuiho-kai/bothouse

Similar IDE rules

All IDE rules for Agent setup: memory, context, orchestration →

From the same set14

The whole set →
_head.en _head.en is a Claude Code rule that exposes CLI scripts from {{TOOLS}} for shell execution. Their first run installs dependencies. CX Codex +1 ★ 262repo stars websearch.en websearch.en is a Claude Code rule directing the agent to search the web using a local websearch.py script. It triggers on queries about versions, news, dates, and prices. CX Codex +1 ★ 262repo stars peek.en peek.en is a Claude Code rule that tracks teammates' progress. Running peek.py inspects bot activity and recent actions without searching through session logs. CX Codex +1 ★ 262repo stars watchvid.en watchvid.en is a Claude Code rule that processes video links through a script and an index of materials to read. It activates when the agent receives a video link. CX Codex +1 ★ 262repo stars codemap-inject.en codemap-inject.en is a Claude Code rule that injects codebase maps into subagent prompts matching map keywords. The subagent reads the map first and lists new symbols to append upon completion. CX Codex +1 ★ 262repo stars choice-ask-guard.en choice-ask-guard.en is a Claude Code rule that checks agent questions against decisions already made and leaves open choices to the user. CX Codex +1 ★ 262repo stars param-source-guard.en The param-source-guard.en rule for Claude Code requires every new numeric parameter in code to include a source comment. It tracks limits, thresholds, and windows to ensure they trace back to user input, specs, or measurements. CX Codex +1 ★ 262repo stars wiki-context.en wiki-context.en is a Claude Code rule that reads relevant wiki hints and lesson entries during a terminal session. CX Codex +1 ★ 262repo stars

Project sponsors

Companies that keep this analytics open