Files
yutu/AGENTS.md
T

1.4 KiB

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/ CLI command definitions and MCP tool bindings
pkg/ Core domain logic and shared infrastructure
internal/ Internal tools (docgen, skillgen)
scripts/ Utility scripts and smoke tests
docs/ Project documentation

Documentation

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 for the full list of useful build/test/release commands.