anotherben/claude-harness/enterprise-discover
Claude Code and agent skill by anotherben/claude-harness
- community
Checking that the SKILL.md file is still in the repository.
Use when starting enterprise work in a new repo, new worktree, unfamiliar package, or new computer, or whenever commands, paths, conventions, portability, or project traps are not yet known
Install
npx vskill@latest install anotherben/claude-harness/enterprise-discoverSKILL.md
The same SKILL.md was published earlier as anotherben/claude-harness/enterprise-discover.
Enterprise Discover
Global Precheck
Before reading further, writing artifacts, delegating, or changing files, run:
If it exits non-zero, stop and report stderr verbatim. Do not hand-craft packet files or evidence markers to bypass it.
Profile the repository before the rest of the enterprise workflow starts guessing, then generate the repo-local overlay skills that travel with the repo.
Required Approach
- Start with an indexed repo lookup if available.
- if
cortex-engineor an equivalent repo index exists, use it first - if not available, state that and fall back to direct filesystem search
- Build committed
.codex/enterprise-state/repo-profile.json. - Build committed
.codex/enterprise-state/repo-traps.json. - Build committed
.codex/enterprise-state/repo-best-practices.jsonif current primary-source guidance is needed and available. - Build gitignored
.codex/enterprise-state/local-machine.jsonfor this computer only. - Ensure gitignored
.codex/enterprise-state/agent-sessions/is the only home for in-flight agent workflow state. - Start or refresh the current agent session with
python3 tools/enterprise-skills/enterprise/scripts/agent_session.py ensure ..., then record discover in that session. - Generate or refresh
.codex/repo-skills/<repo-family>-enterprise*usingscripts/generate_repo_overlay.py. - Validate overlay freshness with
scripts/validate_overlay_manifest.py; the manifest must include generator version, generated timestamp, source hashes, and generated skill hashes. - Stage and commit the portable setup artifacts with
scripts/commit_portable_state.py. - State unknowns instead of guessing.
Minimum Outputs
- repo slug and display name
- workspace layout and relative source roots
- test, build, and lint commands when verified
- migration locations if relevant
- auth, tenancy, and high-risk domain conventions
- dominant file conventions
- known structural traps
- source-of-truth docs for risky domains
- generated repo-local overlay family name
- overlay manifest hash proof: generator version, generated timestamp, repo-profile/trap/best-practice hashes, generic source hashes, and generated skill hashes
- commit sha for the portable setup commit
Portability Rules
- committed profiles must use relative paths and portable command names only
- do not commit usernames, absolute paths, secrets, local interpreter wrappers, or machine-specific install locations
- keep machine-only facts in
local-machine.json - keep live agent workflow state in gitignored
agent-sessions/ - setup is not complete until the portable repo artifacts are committed
- if a command cannot be verified, mark it unknown instead of inventing one
Codex Rules
- Use
multi_tool_use.parallelfor independent reads. - If web research is needed, prefer official documentation and current primary sources.
- Refresh the repo-local overlay whenever the committed profile materially changes.
- Treat a stale or missing overlay manifest hash as a fail-closed discover gap.
- Commit only the portable setup artifacts by default:
.codex/enterprise-state/repo-profile.json.codex/enterprise-state/repo-traps.json.codex/enterprise-state/repo-best-practices.jsonwhen present.codex/repo-skills/- If discover also updated another portable setup file such as
.gitignore, include it explicitly withscripts/commit_portable_state.py --extra-path .gitignore. - Never commit
.codex/enterprise-state/local-machine.jsonor.codex/enterprise-state/agent-sessions/.
References
- Use profile-schema.md for the committed repo profile shape.
- Use machine-state-schema.md for machine-only state.
- Use repo-overlay-layout.md for generated skill naming and paths.
- Use agent-session-model.md for agent-bound workflow state.
- Use
scripts/validate_overlay_manifest.pyafter generation and before relying on repo-local overlays.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/enterprise-discover/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/anotherben/claude-harness/enterprise-discover)