{"owner":"google","repo":"magika","hasSkills":true,"totalSkillsCount":4,"totalTokensCount":1919,"categories":["root-instruction","mcp-config","marketplace","plugin-manifest"],"hasMcp":true,"mcpConfig":{"mcpServers":{"magika":{"command":"npx","args":["-y","@modelcontextprotocol/server-magika"]}}},"found":["AGENTS.md",".cursor/mcp.json",".claude-plugin/marketplace.json",".claude-plugin/plugin.json"],"skills":{"AGENTS.md":"# AGENTS.md\n\nMagika is a content type detector: a Rust core (`rust/`), Python/JavaScript/Go\nbindings (`python/`, `js/`, `go/`), a content types knowledge base (`assets/`),\nand a website (`website-ng/`).\n\n## Before opening a pull request\n\n- Read the contribution policy:\n  `website-ng/src/content/docs/contributing/how-to-contribute.md`\n  (rendered at https://securityresearch.google/magika/contributing/how-to-contribute/).\n  `CONTRIBUTING.md` has the summary.\n- Pull requests are reviewed only for issues labeled `help wanted` or for the\n  always-welcome list in the policy. For anything else, help the user write a\n  concise issue instead of a PR.\n- One PR, one problem, a few lines of description (what, why, how it was\n  tested). No drive-by refactors, renames, formatting churn, or version bumps.\n- The human submitting the PR is accountable for every line and answers the\n  review in person. Do not post generated review replies on their behalf.\n\n## Working in the repository\n\n- Developer guide (tests, knowledge base, resolvers, detection rules, bindings):\n  `website-ng/src/content/docs/contributing/developer-guide.md`.\n- `assets/content_types.yaml` is the knowledge base source of truth, and\n  `assets/exposed_content_types.txt` tracks the append-only monotonic list of\n  exposed content types across Rust, C, Python, and JavaScript. After editing\n  `assets/content_types.yaml`, Rust format resolvers (`rust/lib/src/resolvers/`\n  and `rust/lib/src/resolvers.rs`), or the active model\n  (`assets/active_model.txt`), run `just sync-kb` (or `uv run scripts/sync_kb.py`)\n  from the repository root and commit all generated files (`just sync-kb --check`\n  verifies them in `<0.2s`). Never hand-edit `assets/content_types_kb.min.json`,\n  generated Rust/C/Python/JavaScript content type tables,\n  `assets/models/<active_model>/README.md`,\n  `website-ng/src/content/docs/models/<active_model>.md`, or\n  `website-ng/src/content/docs/content-types/{main,index}.md`. Release snapshots\n  (`website-ng/src/content/docs/content-types/<artifact>-v*.md`) are frozen and\n  sha256-pinned in `assets/content_types_snapshots.sha256`: never edit them.\n  `just sync-kb` creates one automatically when an artifact's manifest\n  (`rust/{lib,cli}/Cargo.toml`, `python/pyproject.toml`, `js/package.json`)\n  declares a new stable (non-pre-release) version, i.e. in release PRs.\n- Rust tasks (`rust/justfile`, runnable via `just rust <recipe>` from the root\n  or `cd rust && just <recipe>`): `test` (`./test.sh`), `sync` (`./sync.sh`,\n  regenerating C FFI `rust/ffi/include/magika.h`, the embedded `tract` NNEF\n  model, and CLI snapshot output), and `changelog` (`./changelog.sh`). Format\n  resolvers live in `rust/lib/src/resolvers/` (`cd rust/lib && ./test.sh`), while\n  custom YARA rules support (`--custom-rules` / `use_custom_rules`) lives in\n  `rust/rules/` (`cd rust/rules && ./test.sh`).\n- Python tasks (`python/justfile`, runnable via `just python <recipe>` from the\n  root or `cd python && just <recipe>`): `sync-dev`, `check-source`,\n  `fix-source`, `test`, `quick-tests`, `coverage`, and `build-wheel` (across\n  `git worktree`s, set `CARGO_TARGET_DIR` to a shared absolute path such as\n  `$HOME/.cache/cargo-target/magika` to reuse compiled Rust dependencies during\n  `uv sync` / `sync-dev`).\n- Tests: `just rust test` (or `cd rust && ./test.sh`); `just python test` (or\n  `cd python && uv run pytest tests -m \"not slow\"`);\n  `cd js && yarn install && yarn test`; `cd go && go test ./...`.\n- Repo-wide checks: `just sync-kb --check` for KB and binding synchronization,\n  `just check-docs` (or `uv run scripts/check_documentation.py`) for\n  documentation links and versions, and `just check-copyright` (or\n  `uv run scripts/check_copyright.py`) for copyright headers.\n- Do not bump versions, edit CHANGELOGs, update models, or add sample files to\n  `tests_data/` unless explicitly asked.\n",".cursor/mcp.json":"# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.cursor/mcp.json)",".claude-plugin/marketplace.json":"# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/marketplace.json)",".claude-plugin/plugin.json":"# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/plugin.json)"},"files":{"AGENTS.md":"# AGENTS.md\n\nMagika is a content type detector: a Rust core (`rust/`), Python/JavaScript/Go\nbindings (`python/`, `js/`, `go/`), a content types knowledge base (`assets/`),\nand a website (`website-ng/`).\n\n## Before opening a pull request\n\n- Read the contribution policy:\n  `website-ng/src/content/docs/contributing/how-to-contribute.md`\n  (rendered at https://securityresearch.google/magika/contributing/how-to-contribute/).\n  `CONTRIBUTING.md` has the summary.\n- Pull requests are reviewed only for issues labeled `help wanted` or for the\n  always-welcome list in the policy. For anything else, help the user write a\n  concise issue instead of a PR.\n- One PR, one problem, a few lines of description (what, why, how it was\n  tested). No drive-by refactors, renames, formatting churn, or version bumps.\n- The human submitting the PR is accountable for every line and answers the\n  review in person. Do not post generated review replies on their behalf.\n\n## Working in the repository\n\n- Developer guide (tests, knowledge base, resolvers, detection rules, bindings):\n  `website-ng/src/content/docs/contributing/developer-guide.md`.\n- `assets/content_types.yaml` is the knowledge base source of truth, and\n  `assets/exposed_content_types.txt` tracks the append-only monotonic list of\n  exposed content types across Rust, C, Python, and JavaScript. After editing\n  `assets/content_types.yaml`, Rust format resolvers (`rust/lib/src/resolvers/`\n  and `rust/lib/src/resolvers.rs`), or the active model\n  (`assets/active_model.txt`), run `just sync-kb` (or `uv run scripts/sync_kb.py`)\n  from the repository root and commit all generated files (`just sync-kb --check`\n  verifies them in `<0.2s`). Never hand-edit `assets/content_types_kb.min.json`,\n  generated Rust/C/Python/JavaScript content type tables,\n  `assets/models/<active_model>/README.md`,\n  `website-ng/src/content/docs/models/<active_model>.md`, or\n  `website-ng/src/content/docs/content-types/{main,index}.md`. Release snapshots\n  (`website-ng/src/content/docs/content-types/<artifact>-v*.md`) are frozen and\n  sha256-pinned in `assets/content_types_snapshots.sha256`: never edit them.\n  `just sync-kb` creates one automatically when an artifact's manifest\n  (`rust/{lib,cli}/Cargo.toml`, `python/pyproject.toml`, `js/package.json`)\n  declares a new stable (non-pre-release) version, i.e. in release PRs.\n- Rust tasks (`rust/justfile`, runnable via `just rust <recipe>` from the root\n  or `cd rust && just <recipe>`): `test` (`./test.sh`), `sync` (`./sync.sh`,\n  regenerating C FFI `rust/ffi/include/magika.h`, the embedded `tract` NNEF\n  model, and CLI snapshot output), and `changelog` (`./changelog.sh`). Format\n  resolvers live in `rust/lib/src/resolvers/` (`cd rust/lib && ./test.sh`), while\n  custom YARA rules support (`--custom-rules` / `use_custom_rules`) lives in\n  `rust/rules/` (`cd rust/rules && ./test.sh`).\n- Python tasks (`python/justfile`, runnable via `just python <recipe>` from the\n  root or `cd python && just <recipe>`): `sync-dev`, `check-source`,\n  `fix-source`, `test`, `quick-tests`, `coverage`, and `build-wheel` (across\n  `git worktree`s, set `CARGO_TARGET_DIR` to a shared absolute path such as\n  `$HOME/.cache/cargo-target/magika` to reuse compiled Rust dependencies during\n  `uv sync` / `sync-dev`).\n- Tests: `just rust test` (or `cd rust && ./test.sh`); `just python test` (or\n  `cd python && uv run pytest tests -m \"not slow\"`);\n  `cd js && yarn install && yarn test`; `cd go && go test ./...`.\n- Repo-wide checks: `just sync-kb --check` for KB and binding synchronization,\n  `just check-docs` (or `uv run scripts/check_documentation.py`) for\n  documentation links and versions, and `just check-copyright` (or\n  `uv run scripts/check_copyright.py`) for copyright headers.\n- Do not bump versions, edit CHANGELOGs, update models, or add sample files to\n  `tests_data/` unless explicitly asked.\n",".cursor/mcp.json":"# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.cursor/mcp.json)",".claude-plugin/marketplace.json":"# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/marketplace.json)",".claude-plugin/plugin.json":"# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/plugin.json)"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","rawUrl":"https://raw.githubusercontent.com/google/magika/HEAD/AGENTS.md","title":"AI Agent Protocol & Instructions","category":"root-instruction","format":"markdown","content":"# AGENTS.md\n\nMagika is a content type detector: a Rust core (`rust/`), Python/JavaScript/Go\nbindings (`python/`, `js/`, `go/`), a content types knowledge base (`assets/`),\nand a website (`website-ng/`).\n\n## Before opening a pull request\n\n- Read the contribution policy:\n  `website-ng/src/content/docs/contributing/how-to-contribute.md`\n  (rendered at https://securityresearch.google/magika/contributing/how-to-contribute/).\n  `CONTRIBUTING.md` has the summary.\n- Pull requests are reviewed only for issues labeled `help wanted` or for the\n  always-welcome list in the policy. For anything else, help the user write a\n  concise issue instead of a PR.\n- One PR, one problem, a few lines of description (what, why, how it was\n  tested). No drive-by refactors, renames, formatting churn, or version bumps.\n- The human submitting the PR is accountable for every line and answers the\n  review in person. Do not post generated review replies on their behalf.\n\n## Working in the repository\n\n- Developer guide (tests, knowledge base, resolvers, detection rules, bindings):\n  `website-ng/src/content/docs/contributing/developer-guide.md`.\n- `assets/content_types.yaml` is the knowledge base source of truth, and\n  `assets/exposed_content_types.txt` tracks the append-only monotonic list of\n  exposed content types across Rust, C, Python, and JavaScript. After editing\n  `assets/content_types.yaml`, Rust format resolvers (`rust/lib/src/resolvers/`\n  and `rust/lib/src/resolvers.rs`), or the active model\n  (`assets/active_model.txt`), run `just sync-kb` (or `uv run scripts/sync_kb.py`)\n  from the repository root and commit all generated files (`just sync-kb --check`\n  verifies them in `<0.2s`). Never hand-edit `assets/content_types_kb.min.json`,\n  generated Rust/C/Python/JavaScript content type tables,\n  `assets/models/<active_model>/README.md`,\n  `website-ng/src/content/docs/models/<active_model>.md`, or\n  `website-ng/src/content/docs/content-types/{main,index}.md`. Release snapshots\n  (`website-ng/src/content/docs/content-types/<artifact>-v*.md`) are frozen and\n  sha256-pinned in `assets/content_types_snapshots.sha256`: never edit them.\n  `just sync-kb` creates one automatically when an artifact's manifest\n  (`rust/{lib,cli}/Cargo.toml`, `python/pyproject.toml`, `js/package.json`)\n  declares a new stable (non-pre-release) version, i.e. in release PRs.\n- Rust tasks (`rust/justfile`, runnable via `just rust <recipe>` from the root\n  or `cd rust && just <recipe>`): `test` (`./test.sh`), `sync` (`./sync.sh`,\n  regenerating C FFI `rust/ffi/include/magika.h`, the embedded `tract` NNEF\n  model, and CLI snapshot output), and `changelog` (`./changelog.sh`). Format\n  resolvers live in `rust/lib/src/resolvers/` (`cd rust/lib && ./test.sh`), while\n  custom YARA rules support (`--custom-rules` / `use_custom_rules`) lives in\n  `rust/rules/` (`cd rust/rules && ./test.sh`).\n- Python tasks (`python/justfile`, runnable via `just python <recipe>` from the\n  root or `cd python && just <recipe>`): `sync-dev`, `check-source`,\n  `fix-source`, `test`, `quick-tests`, `coverage`, and `build-wheel` (across\n  `git worktree`s, set `CARGO_TARGET_DIR` to a shared absolute path such as\n  `$HOME/.cache/cargo-target/magika` to reuse compiled Rust dependencies during\n  `uv sync` / `sync-dev`).\n- Tests: `just rust test` (or `cd rust && ./test.sh`); `just python test` (or\n  `cd python && uv run pytest tests -m \"not slow\"`);\n  `cd js && yarn install && yarn test`; `cd go && go test ./...`.\n- Repo-wide checks: `just sync-kb --check` for KB and binding synchronization,\n  `just check-docs` (or `uv run scripts/check_documentation.py`) for\n  documentation links and versions, and `just check-copyright` (or\n  `uv run scripts/check_copyright.py`) for copyright headers.\n- Do not bump versions, edit CHANGELOGs, update models, or add sample files to\n  `tests_data/` unless explicitly asked.\n","isInternal":false,"tokens":1019,"sizeBytes":3880},{"name":"marketplace.json","path":".claude-plugin/marketplace.json","rawUrl":"https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/marketplace.json","title":"Claude Plugin Marketplace Catalog","category":"marketplace","format":"json","content":"# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/marketplace.json)","tokens":300,"sizeBytes":192},{"name":"plugin.json","path":".claude-plugin/plugin.json","rawUrl":"https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/plugin.json","title":"claude-plugin Plugin Manifest","category":"plugin-manifest","format":"json","content":"# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/plugin.json)","tokens":300,"sizeBytes":178},{"name":"mcp.json","path":".cursor/mcp.json","rawUrl":"https://raw.githubusercontent.com/google/magika/HEAD/.cursor/mcp.json","title":"Model Context Protocol (MCP) Configuration","category":"mcp-config","format":"json","content":"# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.cursor/mcp.json)","tokens":300,"sizeBytes":171}],"systemPromptSnippet":"<yakaai_skills repo=\"google/magika\">\n<!-- File: AGENTS.md (Tokens: ~1019 | Category: root-instruction) -->\n# AGENTS.md\n\nMagika is a content type detector: a Rust core (`rust/`), Python/JavaScript/Go\nbindings (`python/`, `js/`, `go/`), a content types knowledge base (`assets/`),\nand a website (`website-ng/`).\n\n## Before opening a pull request\n\n- Read the contribution policy:\n  `website-ng/src/content/docs/contributing/how-to-contribute.md`\n  (rendered at https://securityresearch.google/magika/contributing/how-to-contribute/).\n  `CONTRIBUTING.md` has the summary.\n- Pull requests are reviewed only for issues labeled `help wanted` or for the\n  always-welcome list in the policy. For anything else, help the user write a\n  concise issue instead of a PR.\n- One PR, one problem, a few lines of description (what, why, how it was\n  tested). No drive-by refactors, renames, formatting churn, or version bumps.\n- The human submitting the PR is accountable for every line and answers the\n  review in person. Do not post generated review replies on their behalf.\n\n## Working in the repository\n\n- Developer guide (tests, knowledge base, resolvers, detection rules, bindings):\n  `website-ng/src/content/docs/contributing/developer-guide.md`.\n- `assets/content_types.yaml` is the knowledge base source of truth, and\n  `assets/exposed_content_types.txt` tracks the append-only monotonic list of\n  exposed content types across Rust, C, Python, and JavaScript. After editing\n  `assets/content_types.yaml`, Rust format resolvers (`rust/lib/src/resolvers/`\n  and `rust/lib/src/resolvers.rs`), or the active model\n  (`assets/active_model.txt`), run `just sync-kb` (or `uv run scripts/sync_kb.py`)\n  from the repository root and commit all generated files (`just sync-kb --check`\n  verifies them in `<0.2s`). Never hand-edit `assets/content_types_kb.min.json`,\n  generated Rust/C/Python/JavaScript content type tables,\n  `assets/models/<active_model>/README.md`,\n  `website-ng/src/content/docs/models/<active_model>.md`, or\n  `website-ng/src/content/docs/content-types/{main,index}.md`. Release snapshots\n  (`website-ng/src/content/docs/content-types/<artifact>-v*.md`) are frozen and\n  sha256-pinned in `assets/content_types_snapshots.sha256`: never edit them.\n  `just sync-kb` creates one automatically when an artifact's manifest\n  (`rust/{lib,cli}/Cargo.toml`, `python/pyproject.toml`, `js/package.json`)\n  declares a new stable (non-pre-release) version, i.e. in release PRs.\n- Rust tasks (`rust/justfile`, runnable via `just rust <recipe>` from the root\n  or `cd rust && just <recipe>`): `test` (`./test.sh`), `sync` (`./sync.sh`,\n  regenerating C FFI `rust/ffi/include/magika.h`, the embedded `tract` NNEF\n  model, and CLI snapshot output), and `changelog` (`./changelog.sh`). Format\n  resolvers live in `rust/lib/src/resolvers/` (`cd rust/lib && ./test.sh`), while\n  custom YARA rules support (`--custom-rules` / `use_custom_rules`) lives in\n  `rust/rules/` (`cd rust/rules && ./test.sh`).\n- Python tasks (`python/justfile`, runnable via `just python <recipe>` from the\n  root or `cd python && just <recipe>`): `sync-dev`, `check-source`,\n  `fix-source`, `test`, `quick-tests`, `coverage`, and `build-wheel` (across\n  `git worktree`s, set `CARGO_TARGET_DIR` to a shared absolute path such as\n  `$HOME/.cache/cargo-target/magika` to reuse compiled Rust dependencies during\n  `uv sync` / `sync-dev`).\n- Tests: `just rust test` (or `cd rust && ./test.sh`); `just python test` (or\n  `cd python && uv run pytest tests -m \"not slow\"`);\n  `cd js && yarn install && yarn test`; `cd go && go test ./...`.\n- Repo-wide checks: `just sync-kb --check` for KB and binding synchronization,\n  `just check-docs` (or `uv run scripts/check_documentation.py`) for\n  documentation links and versions, and `just check-copyright` (or\n  `uv run scripts/check_copyright.py`) for copyright headers.\n- Do not bump versions, edit CHANGELOGs, update models, or add sample files to\n  `tests_data/` unless explicitly asked.\n\n<!-- File: .claude-plugin/marketplace.json (Tokens: ~300 | Category: marketplace) -->\n# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/marketplace.json)\n\n<!-- File: .claude-plugin/plugin.json (Tokens: ~300 | Category: plugin-manifest) -->\n# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.claude-plugin/plugin.json)\n\n<!-- File: .cursor/mcp.json (Tokens: ~300 | Category: mcp-config) -->\n# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/google/magika/HEAD/.cursor/mcp.json)\n</yakaai_skills>"}