Arkptz

Cc Mimicry — Development skill for Claude Code

Development community

CLIProxyAPI plugin that makes Anthropic OAuth traffic look like the native Claude Code CLI: 3-block system-prompt rewrite, tool-name obfuscation, and egress-header fingerprint, kept in sync with live.

How to install Cc Mimicry

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Arkptz/cc-mimicry and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cc Mimicry does

CLIProxyAPI plugin that makes Anthropic OAuth traffic look like the native Claude Code CLI: 3-block system-prompt rewrite, tool-name obfuscation, and egress-header fingerprint, kept in sync with live CLI captures by a nightly drift check.

Alternatives in Development

  • Bypass 403 — Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF f 4.5k ★
  • License — Check that every Python source file carries the required SPDX Apache-2.0 license header 1.1k ★
  • Synthesis — Write the synthesis under the ## Synthesis header 664 ★

README

cc-mimicry

**A CLIProxyAPI plugin that makes Anthropic OAuth traffic indistinguishable from the native Claude Code CLI — so pooled subscriptions are not flagged as third-party clients.**

Currently impersonating Claude Code CLI **2.1.281**, kept current by a nightly drift check against the real binary.

[![CI](https://github.com/Arkptz/cc-mimicry/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Arkptz/cc-mimicry/actions/workflows/ci.yml?query=branch%3Amain) [![Nightly fingerprint drift](https://github.com/Arkptz/cc-mimicry/actions/workflows/fingerprint-nightly.yml/badge.svg?branch=main)](https://github.com/Arkptz/cc-mimicry/actions/workflows/fingerprint-nightly.yml?query=branch%3Amain) [![Release](https://img.shields.io/github/v/release/Arkptz/cc-mimicry?sort=semver)](https://github.com/Arkptz/cc-mimicry/releases) [![GHCR](https://img.shields.io/badge/ghcr.io-cc--mimicry-2496ed)](https://github.com/Arkptz/cc-mimicry/pkgs/container/cc-mimicry) [![Go](https://img.shields.io/github/go-mod/go-version/Arkptz/cc-mimicry)](go.mod) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Why

[CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) (CPA) is a high-throughput multi-account gateway, but its outbound Anthropic requests do not look like the Claude Code CLI: different system prompt, different tool names, different headers. Every one of those is a discriminator.

cc-mimicry ports the request transforms from sub2api's `gateway_tool_rewrite.go` / `cc_mimicry` (originally the [Parrot](https://github.com/danger-dream/Parrot) / [cc-proxy](https://github.com/danger-dream/cc-proxy) lineage) into a native CPA plugin — no sidecar and no rewriting proxy in front of the gateway.

[!IMPORTANT] **The host must be the [`Arkptz/CLIProxyAPI`](https://github.com/Arkptz/CLIProxyAPI) fork, not upstream.** Upstream's plugin ABI can rewri