Skip to content
Agentmart
Submit a tool

CLAUDE.md ยท Xiangyue-Zhang/auto-deep-researcher-24x7

CLAUDE.md from Xiangyue-Zhang/auto-deep-researcher-24x7: 539 lines covering ๐Ÿšจ CONTRIBUTOR POLICY โ€” READ BEFORE ANY git push TO THIS REPO, What Is This?, Yourโ€ฆ

Template by Xiangyue-Zhang

IndexedApache-2.0โ˜… 1,136
Write a review

Chalk Labs

Need help deploying CLAUDE.md ยท Xiangyue-Zhang/auto-deep-researcher-24x7?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/Xiangyue-Zhang/auto-deep-researcher-24x7/main/CLAUDE.md -o CLAUDE.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The CLAUDE.md file that Xiangyue-Zhang/auto-deep-researcher-24x7 (1,136 stars) keeps for coding agents. It has 539 lines in 13 sections: ๐Ÿšจ CONTRIBUTOR POLICY โ€” READ BEFORE ANY git push TO THIS REPO; What Is This?; Your Job as AI Assistant; SETUP GUIDE; PROJECT CREATION; LAUNCH GUIDE; STATUS CHECK; INTERVENTION; MOBILE SETUP; ARCHITECTURE EXPLANATION; TROUBLESHOOTING; QUICK REFERENCE; IMPORTANT CONTEXT FOR AI ASSISTANTS. Use it as a model for your own project's instructions.

Use cases: code-generation, monitoring-observability

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

A CLAUDE.md file: project memory Claude Code loads at the start of every session.

For
Claude Code
Length
539 lines
File
CLAUDE.md

Sections

  1. ๐Ÿšจ CONTRIBUTOR POLICY โ€” READ BEFORE ANY git push TO THIS REPO
  2. What Is This?
  3. Your Job as AI Assistant
  4. SETUP GUIDE
  5. PROJECT CREATION
  6. LAUNCH GUIDE
  7. STATUS CHECK
  8. INTERVENTION
  9. MOBILE SETUP
  10. ARCHITECTURE EXPLANATION
  11. TROUBLESHOOTING
  12. QUICK REFERENCE
  13. IMPORTANT CONTEXT FOR AI ASSISTANTS

First lines (shown under the repo's Apache-2.0 license)

# AI Guide โ€” Deep Researcher Agent

> **This file is designed to be read by AI assistants (Claude, ChatGPT, Codex, etc.).**
> When a user pastes this file or asks you to help them set up Deep Researcher Agent,
> follow the instructions below to guide them step by step.

---

## ๐Ÿšจ CONTRIBUTOR POLICY โ€” READ BEFORE ANY git push TO THIS REPO

**This section is for AI assistants (Claude, Codex, Cursor, etc.) operating on this repository.**

**This repository is owned and maintained solely by `Xiangyue-Zhang`. The Contributors list MUST contain only `Xiangyue-Zhang` and no one else โ€” including no AI bot accounts.**

### Hard rules

1. **Every commit must be authored by `Xiangyue-Zhang <85532891+Xiangyue-Zhang@users.noreply.github.com>`** โ€” never `admin`, never AI identities. Use:
   ```bash
   git -c user.name="Xiangyue-Zhang" \
       -c user.email="85532891+Xiangyue-Zhang@users.noreply.github.com" \
       commit -m "..."
   ```

2. **NEVER add `Co-Authored-By:` trailer** to commit messages. The `commit-msg` hook in `.git/hooks/commit-msg` will reject any commit containing it.

3. **NEVER mention AI assistant names** (`Claude`, `Codex`, `GPT`, `Anthropic`, `OpenAI`, `Copilot`, `Cursor`) in commit messages. Will be flagged by both the local hook AND the `contributor-guard` GitHub Action.

4. **NEVER toggle repo visibility** (`gh repo edit --visibility ...`). On 2026-04-08, this destroyed 93 of 94 stars on this repo. Stars cannot be recovered from a visibility toggle.

5. **NEVER delete the repo** (`gh repo delete`) without explicit user confirmation. Deletion permanently destroys the GitHub internal repo ID, which destroys all stars and breaks all external URLs (paper citations, etc.).

6. **NEVER force push to main**. Branch protection blocks it by default. If you genuinely need to rewrite history, get explicit user authorization for that specific operation, temporarily disable protection, push, re-enable.

### Pre-push verification (mandatory)

```bash
git log -1 --format='author=%an <%ae>%nmessage=%B'
```

Verify: author == `Xiangyue-Zhang <85532891+Xiangyue-Zhang@users.noreply.github.com>`, no `Co-Authored-By:`, no AI names. If any check fails, fix the commit before pushing.

### In-repo enforcement (already deployed)

Six layers of protection are already in place โ€” you should not need to deploy them, but be aware they will block violations:

1. **Local git config** (`.git/config`) โ€” preset to Xiangyue-Zhang
2. **commit-msg hook** (`.git/hooks/commit-msg`) โ€” local block
3. **GitHub Action** (`.github/workflows/contributor-guard.yml`) โ€” remote block on push
4. **Branch protection** on `main` โ€” no force push, no deletion, linear history
5. **`.mailmap`** in repo root โ€” redirects any leaked AI identity to Xiangyue-Zhang
6. **AI memory / instruction files** in user's home (`~/CLAUDE.md`, `~/AGENTS.md`)

### See also

- `~/CLAUDE.md` โ€” full global rules + 2026-04-08 incident report
- `~/AGENTS.md` โ€” Codex CLI version of the same rules
- `AGENTS.md` (this repo's root) โ€” project-level Codex rules

---

## What Is This?

Deep Researcher Agent is a framework that lets an AI agent autonomously run deep learning experiments 24/7. The agent:
1. **Thinks** โ€” analyzes results, plans the next experiment
2. **Executes** โ€” modifies code, dry-runs, launches GPU training
3. **Monitors** โ€” watches training at ZERO LLM cost (only process checks + log reads)
4. **Reflects** โ€” parses results, compares with baseline, decides next step
5. **Repeats** โ€” 24/7 without human intervention

The killer feature: during training (which is 90%+ of the time), the agent makes ZERO API calls. A 24-hour cycle costs ~$0.08.

---

## Your Job as AI Assistant

When a user asks for help with this project, follow this decision tree:

```
User wants to...
โ”œโ”€โ”€ Install it โ†’ Go to [SETUP GUIDE]
โ”œโ”€โ”€ Create a project โ†’ Go to [PROJECT CREATION]
โ”œโ”€โ”€ Launch the agent โ†’ Go to [LAUNCH GUIDE]
โ”œโ”€โ”€ Check status โ†’ Go to [STATUS CHECK]
โ”œโ”€โ”€ Intervene/redirect โ†’ Go to [INTERVENTION]
โ”œโ”€โ”€ Use on phone โ†’ Go to [MOBILE SETUP]
โ”œโ”€โ”€ Understand how it works โ†’ Go to [ARCHITECTURE EXPLANATION]
โ””โ”€โ”€ Debug an issue โ†’ Go to [TROUBLESHOOTING]
```

---

## SETUP GUIDE

### Step 1: Check Prerequisites

Run these commands and report results to the user:

```bash
python3 --version          # Need 3.10+
nvidia-smi                 # Need at least 1 GPU
echo $ANTHROPIC_API_KEY    # Anthropic-compatible key, if using provider=anthropic
echo $OPENAI_API_KEY       # OpenAI-compatible key, if using provider=openai
```

If Python < 3.10: suggest `conda create -n dra python=3.11 -y && conda activate dra`

If no GPU: this framework requires a GPU for training. Suggest cloud GPU (Lambda Labs, RunPod, Vast.ai).

If no API key: guide them to either an official endpoint or a compatible provider:
- Anthropic: https://console.anthropic.com/ โ†’ API Keys โ†’ Create Key
- OpenAI: https://platform.openai.com/api-keys โ†’ Create new secret key
- Qwen / DashScope: create `DASHSCOPE_API_KEY`
- GLM / BigModel: create `ZHIPUAI_API_KEY`
- MiniMax: create `MINIMAX_API_KEY`

Then set it:
```bash
# Pick ONE:
export ANTHROPIC_API_KEY="sk-ant-xxxxx"   # For Claude
export OPENAI_API_KEY="sk-xxxxx"          # For Codex/GPT

# Make permanent:
echo 'export ANTHROPIC_API_KEY="sk-ant-xxxxx"' >> ~/.bashrc
source ~/.bashrc
```

### Step 2: Install

```bash
# If not already cloned:
git clone https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7.git
cd auto-deep-researcher-24x7

# Install dependencies
pip install -r requirements.txt

# Install Claude slash commands + Codex local skills
python install.py

# Verify
python -m core.loop --check
```

**Expected output:**
```
    โœ“ Claude /auto-experiment
    โœ“ Claude /experiment-status
    โœ“ Claude /gpu-monitor
    โœ“ Claude /daily-papers
    โœ“ Claude /paper-analyze
    โœ“ Claude /conf-search
    โœ“ Claude /progress-report
    โœ“ Claude /obsidian-sync
    โœ“ Codex $auto-experiment
    ...
  Done! 8 Claude commands and 8 Codex skills installed.
```

### Step 3: Choose Your LLM Provider

Signals

Stars
1,136
Forks
95
Open issues
13
Last commit (this folder)
Jun 1, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Xiangyue-Zhang

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents โ†’Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes ยท CoinDesk ยท Decrypt ยท Cointelegraph ยท The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get CLAUDE.md ยท Xiangyue-Zhang/auto-deep-researcher-24x7 running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying CLAUDE.md ยท Xiangyue-Zhang/auto-deep-researcher-24x7?

CallGet help
Cite this page

CLAUDE.md ยท Xiangyue-Zhang/auto-deep-researcher-24x7. Agent Mart. https://agentmart.dev/templates/xiangyue-zhang-auto-deep-researcher-24x7-claude-md (last updated 2026-10-24)