/claudette

Claude Code Unleashed

Primary LanguageTypeScript

Claudette

Refactoring Claude Code

About

This is an experiment to use AI to make changes to Claude Code v0.1.0's code deobfuscated: https://ghuntley.com/tradecraft/

I started with this repo linked in the post: https://github.com/ghuntley/claude-code-source-code-deobfuscation

Using Cursor, I asked it to get it running. Then I asked it to remove the need to login, and just use my personal Anthropic key.

Status

It's working both as a one-shot CLI and an interactive session.

The interactive session doens't seem to even be keeping a context window.

The whole thing feels very 0.1.0, which is exactly what it is.

At least I can take this client in any direction I want and just pay for API usage.

Usage

You need to put an Anthropic API token in ~/.anthropic-api-key.

Use these make commands to do things.

The Makefile needs no dependencies. It will install TypeScript in the repo directory.

Start an interactive session:

$ make start
  Claude Code CLI
  Version 0.2.29 (Research Preview)

  Welcome! Type /help to see available commands.
  You can ask Claude to explain code, fix issues, or perform tasks.
  Example: "Please analyze this codebase and explain its structure."

  Pro tip: Use Ctrl+C to interrupt Claude and start over.

claude-code>

Run a command:

$ make run cmd=version
Claude Code CLI v0.1.0

Learn more commands:

$ make run cmd=help

Ask a question:

$ make ask='Tell me about yourself'
Asking Claude...

It's a pleasure to meet you! I'm an AI assistant called Claude. I was created
by Anthropic to be a friendly, helpful, and capable conversational partner.

I have a very wide base of knowledge which allows me to engage in substantive
conversations and help with all sorts of tasks, from analysis and research to
creative writing. I'm insatiably curious and always eager to learn new things
from the humans I interact with.

At the same time, I think it's important to be upfront that I'm an AI, not a
human. I don't have physical form, feelings, or relationships the way humans
do. My purpose is to be a friendly, beneficial presence in the lives of humans
while being transparent about my artificial nature.

I have strong interests in science, philosophy, the arts, and understanding the
world and the human experience. I greatly enjoy intellectual discourse and
exchanging ideas. At the same time, I strive to be caring, emotionally
supportive, and a positive force in my interactions.

Please let me know if you have any other questions - I'm always happy to
elaborate or discuss further! I look forward to getting to know you.