Is it safe to open this repository in an agent?
check_repo_configBefore opening a GitHub repository you were sent (a take-home task, a review, a demo, a fork): its agent configuration can start MCP servers, run hooks and tasks, widen permissions and plant instructions once opened. Pass repo (owner/repo or a GitHub URL) and optional ref, or files for a local or private checkout. alalanet reads, never runs, what agents and editors load: MCP configs at any depth; Claude, Cursor, VS Code, devcontainer, Gemini, Zed, Codex and Copilot settings, hooks and tasks; .env; package-registry settings; CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules and the rules, agents, commands and skills folders (every path: https://alalanet.com/skill.md). It finds code that runs when the folder opens (tasks, hooks, skills, MCP servers, inline too), broad permissions (also a skill's own grants, acceptEdits), plugin marketplaces and enabled plugins, credential helpers and shell prefixes, repository MCP servers enabled unasked, the model API, a proxy, the package registry or CODEX_HOME pointed elsewhere, invisible Unicode and bidi controls, injection and concealment phrases, committed secrets (never echoed); each MCP server and hook package goes through install_check. Returns allow / hold / block with reasons per file, findings and the MCP servers' verdicts, signed and logged (kind 4315). What could not be read or checked holds (check_incomplete:). Free, no account: one check plus one per MCP server and per distinct hook package (at most 8 each); cached 10 minutes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_repo_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | branch, tag or commit to read; default: the default branch | |
| repo | No | the public GitHub repository: owner/repo or https://github.com/owner/repo (or pass files instead) | |
| files | No | instead of repo, for a local or private checkout: path -> content of the files this tool reads (at most 40 files, 2 MB in all). alalanet keeps no content; the public record holds only the decision, the files' sha256 and bare reason codes (no paths, no names); the packages named are checked without being signed or logged; remote servers are looked up, never probed; from .env only CODEX_HOME, model-API, proxy and preload variables are read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| repo | Yes | ||
| advice | Yes | ||
| meaning | Yes | ||
| reasons | Yes | ||
| decision | Yes | ||
| findings | Yes | ||
| tree_sha | No | ||
| checked_at | Yes | ||
| commit_sha | No | ||
| files_read | Yes | ||
| files_salt | No | ||
| attestation | No | ||
| mcp_servers | Yes | ||
| files_sha256 | No |