byte-codebase-harnesslisted
Install: claude install-skill elan6666/your-bytedance-skills
# Byte Codebase Harness
Codebase Harness makes a repository navigable before Byte OS plans or edits it. It adapts Anthropic's large-codebase guidance for Claude Code into a provider-neutral setup that also works for Codex.
## Inputs
Inspect:
```text
repo root
top-level directories
existing CLAUDE.md
existing AGENTS.md
existing .claude/settings.json
package/build/test files
.gitignore and generated/artifact directories
.byte-os/STATUS.md if present
```
## Workflow
1. Map the codebase.
- List top-level directories and give each a one-line purpose.
- Identify likely generated files, build outputs, vendored code, dependency directories, fixtures, and large artifacts.
- Identify main language stacks and likely LSPs.
2. Create dual-agent context files.
- Root `CLAUDE.md`: concise Claude Code entry context.
- Root `AGENTS.md`: concise Codex entry context.
- Keep root files lean: project map, critical commands, dangerous areas, conventions, and pointers.
- Do not put specialized workflows in root context; use skills or module files instead.
3. Add module-local context where useful.
- For the 2-3 most relevant or most active subdirectories, add local `CLAUDE.md` and `AGENTS.md`.
- Each local file must state module purpose, build/test/lint commands, architecture constraints, and safe edit boundaries.
- Prefer starting future agent sessions in the relevant subdirectory, while relying on parent context files for global rules.
4. Add shared Claude no