Skip to content
Agentmart
Submit a tool

AGENTS.md · Xiangyue-Zhang/auto-deep-researcher-24x7

AGENTS.md from Xiangyue-Zhang/auto-deep-researcher-24x7: 73 lines covering 🚨 CONTRIBUTOR POLICY — NON-NEGOTIABLE, In-repo enforcement (6 layers, already…

Template by Xiangyue-Zhang

IndexedApache-2.0★ 1,136
Write a review

Chalk Labs

Need help deploying AGENTS.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 Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, 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/AGENTS.md -o AGENTS.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 AGENTS.md file that Xiangyue-Zhang/auto-deep-researcher-24x7 (1,136 stars) keeps for coding agents. It has 73 lines in 4 sections: 🚨 CONTRIBUTOR POLICY — NON-NEGOTIABLE; In-repo enforcement (6 layers, already deployed); Why these rules exist; See also. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

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

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
73 lines
File
AGENTS.md

Sections

  1. 🚨 CONTRIBUTOR POLICY — NON-NEGOTIABLE
  2. In-repo enforcement (6 layers, already deployed)
  3. Why these rules exist
  4. See also

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

# AGENTS.md — Project-level rules for AI assistants

> **For any AI assistant (Codex, Claude, Cursor, etc.) operating in this repository.**
> Codex CLI reads this file from the project root before doing any work.

---

## 🚨 CONTRIBUTOR POLICY — NON-NEGOTIABLE

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

### Hard rules

1. **Author MUST be `Xiangyue-Zhang <85532891+Xiangyue-Zhang@users.noreply.github.com>`** — never `admin`, never AI bots, never your machine default
2. **NEVER add `Co-Authored-By:` trailer** to commit messages
3. **NEVER mention AI assistant names** in commit messages (`Claude`, `Codex`, `GPT`, `Anthropic`, `OpenAI`, `Copilot`, `Cursor`)
4. **NEVER toggle repo visibility** (`gh repo edit --visibility ...`) — destroys stars
5. **NEVER delete the repo** (`gh repo delete`) without explicit user authorization
6. **NEVER force push to main** without explicit per-operation authorization

### Required pre-push verification

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

Confirm:
- author == `Xiangyue-Zhang <85532891+Xiangyue-Zhang@users.noreply.github.com>`
- no `Co-Authored-By:` line
- no AI names in message

If any check fails: **STOP. Do not push.** Fix the commit, re-verify, then push.

### How to commit properly

```bash
git -c user.name="Xiangyue-Zhang" \
    -c user.email="85532891+Xiangyue-Zhang@users.noreply.github.com" \
    commit -m "your clean message without any Co-Authored-By line"
```

---

## In-repo enforcement (6 layers, already deployed)

You don't need to deploy these — they already exist and will block violations:

1. **Local git config** (`.git/config`) — preset to Xiangyue-Zhang
2. **commit-msg hook** (`.git/hooks/commit-msg`) — rejects forbidden trailers and AI names locally
3. **GitHub Action** (`.github/workflows/contributor-guard.yml`) — validates every push, fails workflow on violation
4. **Branch protection** on `main` — no force push, no deletion, linear history required
5. **`.mailmap`** — redirects any leaked AI identity back to Xiangyue-Zhang
6. **Global AI instructions** in user's home (`~/CLAUDE.md`, `~/AGENTS.md`)

---

## Why these rules exist

On 2026-04-08, an AI assistant violated rules 2 and 4 above:
- Added `Co-Authored-By: Claude` to commits → `claude` appeared in Contributors
- "Fixed" it by toggling repo visibility → **destroyed 94 → 1 stars**
- Repo had to be deleted and rebuilt from scratch

**This is permanent damage that cannot be undone.** These rules exist so it never happens again. If you ever feel tempted to take a "cache refresh trick" or other clever shortcut on this user's repos: **STOP, ask the user, do not proceed.**

---

## See also

- `CLAUDE.md` (this repo, root) — same policy + general AI guide for the project
- `~/CLAUDE.md` (user's home) — global Claude rules + full 2026-04-08 incident report
- `~/AGENTS.md` (user's home) — global Codex CLI rules

Signals

Stars
1,136
Forks
95
Open issues
13
Last commit (this folder)
Apr 8, 2026 (6 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 AGENTS.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 AGENTS.md · Xiangyue-Zhang/auto-deep-researcher-24x7?

CallGet help
Cite this page

AGENTS.md · Xiangyue-Zhang/auto-deep-researcher-24x7. Agent Mart. https://agentmart.dev/templates/xiangyue-zhang-auto-deep-researcher-24x7-agents-md (last updated 2026-10-24)