{"owner":"topjohnwu","repo":"Magisk","hasSkills":true,"totalSkillsCount":1,"totalTokensCount":455,"categories":["root-instruction"],"hasMcp":false,"mcpConfig":null,"found":["AGENTS.md"],"skills":{"AGENTS.md":"# AGENTS.md\n\nGuidelines and instructions for AI models and automated agents operating in the Magisk repository.\n\n## 1. Core Guidelines for AI Models\n\n1. **Git Control:** NEVER commit changes or amend an existing git commit without the user's explicit request or approval. Refer to the [`magisk-git`](.agents/skills/magisk-git/SKILL.md) skill for commit policies and formatting rules.\n2. **Environment & Tool Invocations:** `./build.py` configures the build environment internally. Standalone tool executions (such as `./gradlew`, `cargo`, `rustc`, `ndk-build`, etc.) **MUST** be prefixed with `scripts/env.py` (e.g., `scripts/env.py ./gradlew assembleDebug`).\n3. **Subproject Contexts:** Activate and follow subproject skills when working on specific codebases:\n   - `native/`: Refer to the [`magisk-native`](.agents/skills/magisk-native/SKILL.md) skill for architecture, FFI bindings, Rust conventions, and native workflows.\n   - `app/`: Refer to the [`magisk-app`](.agents/skills/magisk-app/SKILL.md) skill for app architecture, Compose/Kotlin conventions, and Gradle workflows.\n4. **Verification Loop:** After making changes, verify compilation and run linting/checks for affected modules before concluding tasks.\n\n## 2. Repository Structure\n\n- **`app/`**: Android application multi-module Gradle project.\n- **`native/`**: C, C++, and Rust native binaries and libraries (`magisk`, `magiskinit`, `magiskboot`, `magiskpolicy`, `resetprop`).\n- **`build.py`**: Primary build orchestrator managing toolchains, native builds, and app packaging.\n- **`tools/` & `scripts/`**: Helper utilities (e.g., `elf-cleaner`) and environment setup (`scripts/env.py`).\n\n## 3. Global Build Commands\n\n- **Build Complete Project:** `./build.py all`\n- **Clean All Artifacts:** `./build.py clean`\n- **NDK Toolchain Setup:** `./build.py ndk`\n"},"files":{"AGENTS.md":"# AGENTS.md\n\nGuidelines and instructions for AI models and automated agents operating in the Magisk repository.\n\n## 1. Core Guidelines for AI Models\n\n1. **Git Control:** NEVER commit changes or amend an existing git commit without the user's explicit request or approval. Refer to the [`magisk-git`](.agents/skills/magisk-git/SKILL.md) skill for commit policies and formatting rules.\n2. **Environment & Tool Invocations:** `./build.py` configures the build environment internally. Standalone tool executions (such as `./gradlew`, `cargo`, `rustc`, `ndk-build`, etc.) **MUST** be prefixed with `scripts/env.py` (e.g., `scripts/env.py ./gradlew assembleDebug`).\n3. **Subproject Contexts:** Activate and follow subproject skills when working on specific codebases:\n   - `native/`: Refer to the [`magisk-native`](.agents/skills/magisk-native/SKILL.md) skill for architecture, FFI bindings, Rust conventions, and native workflows.\n   - `app/`: Refer to the [`magisk-app`](.agents/skills/magisk-app/SKILL.md) skill for app architecture, Compose/Kotlin conventions, and Gradle workflows.\n4. **Verification Loop:** After making changes, verify compilation and run linting/checks for affected modules before concluding tasks.\n\n## 2. Repository Structure\n\n- **`app/`**: Android application multi-module Gradle project.\n- **`native/`**: C, C++, and Rust native binaries and libraries (`magisk`, `magiskinit`, `magiskboot`, `magiskpolicy`, `resetprop`).\n- **`build.py`**: Primary build orchestrator managing toolchains, native builds, and app packaging.\n- **`tools/` & `scripts/`**: Helper utilities (e.g., `elf-cleaner`) and environment setup (`scripts/env.py`).\n\n## 3. Global Build Commands\n\n- **Build Complete Project:** `./build.py all`\n- **Clean All Artifacts:** `./build.py clean`\n- **NDK Toolchain Setup:** `./build.py ndk`\n"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","rawUrl":"https://raw.githubusercontent.com/topjohnwu/Magisk/HEAD/AGENTS.md","title":"AI Agent Protocol & Instructions","category":"root-instruction","format":"markdown","content":"# AGENTS.md\n\nGuidelines and instructions for AI models and automated agents operating in the Magisk repository.\n\n## 1. Core Guidelines for AI Models\n\n1. **Git Control:** NEVER commit changes or amend an existing git commit without the user's explicit request or approval. Refer to the [`magisk-git`](.agents/skills/magisk-git/SKILL.md) skill for commit policies and formatting rules.\n2. **Environment & Tool Invocations:** `./build.py` configures the build environment internally. Standalone tool executions (such as `./gradlew`, `cargo`, `rustc`, `ndk-build`, etc.) **MUST** be prefixed with `scripts/env.py` (e.g., `scripts/env.py ./gradlew assembleDebug`).\n3. **Subproject Contexts:** Activate and follow subproject skills when working on specific codebases:\n   - `native/`: Refer to the [`magisk-native`](.agents/skills/magisk-native/SKILL.md) skill for architecture, FFI bindings, Rust conventions, and native workflows.\n   - `app/`: Refer to the [`magisk-app`](.agents/skills/magisk-app/SKILL.md) skill for app architecture, Compose/Kotlin conventions, and Gradle workflows.\n4. **Verification Loop:** After making changes, verify compilation and run linting/checks for affected modules before concluding tasks.\n\n## 2. Repository Structure\n\n- **`app/`**: Android application multi-module Gradle project.\n- **`native/`**: C, C++, and Rust native binaries and libraries (`magisk`, `magiskinit`, `magiskboot`, `magiskpolicy`, `resetprop`).\n- **`build.py`**: Primary build orchestrator managing toolchains, native builds, and app packaging.\n- **`tools/` & `scripts/`**: Helper utilities (e.g., `elf-cleaner`) and environment setup (`scripts/env.py`).\n\n## 3. Global Build Commands\n\n- **Build Complete Project:** `./build.py all`\n- **Clean All Artifacts:** `./build.py clean`\n- **NDK Toolchain Setup:** `./build.py ndk`\n","isInternal":false,"tokens":455,"sizeBytes":1819}],"systemPromptSnippet":"<yakaai_skills repo=\"topjohnwu/Magisk\">\n<!-- File: AGENTS.md (Tokens: ~455 | Category: root-instruction) -->\n# AGENTS.md\n\nGuidelines and instructions for AI models and automated agents operating in the Magisk repository.\n\n## 1. Core Guidelines for AI Models\n\n1. **Git Control:** NEVER commit changes or amend an existing git commit without the user's explicit request or approval. Refer to the [`magisk-git`](.agents/skills/magisk-git/SKILL.md) skill for commit policies and formatting rules.\n2. **Environment & Tool Invocations:** `./build.py` configures the build environment internally. Standalone tool executions (such as `./gradlew`, `cargo`, `rustc`, `ndk-build`, etc.) **MUST** be prefixed with `scripts/env.py` (e.g., `scripts/env.py ./gradlew assembleDebug`).\n3. **Subproject Contexts:** Activate and follow subproject skills when working on specific codebases:\n   - `native/`: Refer to the [`magisk-native`](.agents/skills/magisk-native/SKILL.md) skill for architecture, FFI bindings, Rust conventions, and native workflows.\n   - `app/`: Refer to the [`magisk-app`](.agents/skills/magisk-app/SKILL.md) skill for app architecture, Compose/Kotlin conventions, and Gradle workflows.\n4. **Verification Loop:** After making changes, verify compilation and run linting/checks for affected modules before concluding tasks.\n\n## 2. Repository Structure\n\n- **`app/`**: Android application multi-module Gradle project.\n- **`native/`**: C, C++, and Rust native binaries and libraries (`magisk`, `magiskinit`, `magiskboot`, `magiskpolicy`, `resetprop`).\n- **`build.py`**: Primary build orchestrator managing toolchains, native builds, and app packaging.\n- **`tools/` & `scripts/`**: Helper utilities (e.g., `elf-cleaner`) and environment setup (`scripts/env.py`).\n\n## 3. Global Build Commands\n\n- **Build Complete Project:** `./build.py all`\n- **Clean All Artifacts:** `./build.py clean`\n- **NDK Toolchain Setup:** `./build.py ndk`\n</yakaai_skills>"}