Skip to content
Agentmart
Submit a tool

AGENTS.md · eat-pray-ai/yutu

AGENTS.md from eat-pray-ai/yutu: 51 lines covering Quick Reference, Directory Index, Documentation, Conventions and more.

Template by eat-pray-ai

IndexedApache-2.0★ 704
Write a review

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/eat-pray-ai/yutu/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 eat-pray-ai/yutu (704 stars) keeps for coding agents. It has 51 lines in 5 sections: Quick Reference; Directory Index; Documentation; Conventions; Adding a New YouTube Resource. Use it as a model for your own project's instructions.

Use cases: social-media, code-generation

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
51 lines
File
AGENTS.md

Sections

  1. Quick Reference
  2. Directory Index
  3. Documentation
  4. Conventions
  5. Adding a New YouTube Resource

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

# Yutu

Go CLI + MCP server + Agent for YouTube.

## Quick Reference

- **Build**: `go build -o yutu .` or `bazel build //...`
- **Test**: `go test ./...` or `bazel test //...`
- **Smoke Tests**: `./scripts/command-test.sh`
- **Entry Point**: `main.go`

## Directory Index

| Directory | Description |
|-----------|-------------|
| [cmd/](cmd/AGENTS.md) | CLI command definitions and MCP tool bindings |
| [pkg/](pkg/AGENTS.md) | Core domain logic and shared infrastructure |
| [internal/](internal/AGENTS.md) | Internal tools (cmdtestgen, skillgen) |
| [scripts/](scripts/AGENTS.md) | Utility scripts and smoke tests |
| [docs/](docs) | Project documentation |

## Documentation

- [docs/FEATURES.md](docs/FEATURES.md) — Feature overview
- [docs/HOW_TO_TEST.md](docs/HOW_TO_TEST.md) — Testing guide
- [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md) — Contribution guidelines
- [docs/BEFORE_RELEASE.md](docs/BEFORE_RELEASE.md) — Pre-release checklist
- [docs/CODE_OF_CONDUCT.md](docs/CODE_OF_CONDUCT.md) — Code of conduct

## Conventions

- **Secrets**: `client_secret.json` and `youtube.token.json` in root (standard for this project).
- **Build System**: Bazel is primary, standard Go tools also work.
- **BUILD.bazel files are auto-generated** — do NOT create or edit them manually. Run `bazel run //:gazelle` to regenerate.
- After changing dependencies: `bazel run @rules_go//go -- mod tidy -v && bazel mod tidy`.
- See [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md) for the full list of useful build/test/release commands.

## Adding a New YouTube Resource

Every new resource package under `pkg/` and `cmd/` must also be registered in:

1. **`main.go`** — add a blank import (`_ "github.com/eat-pray-ai/yutu/cmd/<resource>"`).
2. **`internal/tools/skillgen/main.go`** — add a blank import (`_ "github.com/eat-pray-ai/yutu/cmd/<resource>"`).
3. **`internal/tools/cmdtestgen/main.go`** — add a blank import (`_ "github.com/eat-pray-ai/yutu/cmd/<resource>"`).

Then regenerate generated files and build definitions:

- Run `go run ./internal/tools/skillgen` (or `bazel run //internal/tools/skillgen`) to regenerate agent instruction and skill.
- Run `go run ./internal/tools/cmdtestgen` (or `bazel run //internal/tools/cmdtestgen`) to regenerate smoke tests (`scripts/command-test.sh`).
- Run `bazel run //:gazelle` to regenerate `BUILD.bazel` files.

Signals

Stars
704
Forks
85
Open issues
5
Contributors
6
Last commit (this folder)
Oct 1, 2026 (27 days ago)
Last release
Oct 2, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from eat-pray-ai

Cite this page

AGENTS.md · eat-pray-ai/yutu. Agent Mart. https://agentmart.dev/templates/eat-pray-ai-yutu-agents-md (last updated 2026-10-24)