Borrowing it
Nothing to install: this file belongs to AgiMaulana/HuaweiAppGalleryMcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AgiMaulana/HuaweiAppGalleryMcp/main/AGENTS.mdgit clone --depth 1 https://github.com/AgiMaulana/HuaweiAppGalleryMcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/agimaulana/huaweiappgallerymcp/agents-md)<a href="https://agentmods.dev/instructions/agimaulana/huaweiappgallerymcp/agents-md"><img src="https://agentmods.dev/badge/instructions/agimaulana/huaweiappgallerymcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/agimaulana/huaweiappgallerymcp/agents-md"><img src="https://agentmods.dev/badge/instructions/agimaulana/huaweiappgallerymcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00581 | $0.00581 |
| Opus 5 | $0.00291 | $0.00291 |
| Sonnet 5 | $0.00116 | $0.00116 |
| Haiku 4.5 | $0.00058 | $0.00058 |
Grade A, and why
HuaweiAppGalleryMcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 28 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidelines
Project Structure & Module Organization
Core server code lives in huawei_appgallery_mcp/. Use server.py for MCP tool registration and request dispatch, auth.py for credential handling, and api/ for AppGallery feature modules such as app_info.py, file_upload.py, publish.py, and report.py. Tests live in tests/; keep new test files alongside the behavior they cover, using names like test_publish.py. Release process notes are in docs/RELEASE.md. Root config files include pyproject.toml, server.json, and glama.json.
Build, Test, and Development Commands
Create a local environment and install dev dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
Run tests with pytest. Target a single file with pytest tests/test_issue3_upload.py when iterating on one area. Validate packaging with pip install . or python -m pip install . before cutting a release. The published CLI entry point is huawei-app-gallery-mcp.
Coding Style & Naming Conventions
Follow existing Python style: 4-space indentation, snake_case for functions and modules, UPPER_SNAKE_CASE for constants, and concise docstrings on public helpers. Prefer type hints where the module already uses them. Keep MCP tool names descriptive and action-oriented, matching the existing query_app_info / update_release_time pattern. No formatter or linter is configured in this repo, so keep changes PEP 8-aligned and consistent with surrounding code.
Testing Guidelines
Use pytest with pytest-asyncio for async flows. Name tests test_<behavior> and mock external HTTP calls instead of hitting Huawei endpoints. Add focused regression tests for API quirks, dispatch behavior, and environment-driven configuration. Reuse tests/conftest.py for shared fixtures and env setup.
Commit & Pull Request Guidelines
Recent history uses Conventional Commit style such as feat(app-info): support channel_id queries and fix: add upload_file tool.... Keep commit subjects short and scoped when useful. PRs should explain the AppGallery behavior changed, list tests run, and link the relevant issue. Include example payloads or command snippets when a new MCP tool or parameter is introduced.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 28 lines · 581 tokens per session scan A e98a159f52b8
HuaweiAppGalleryMcp AGENTS.md is an instructions file published in the GitHub repository AgiMaulana/HuaweiAppGalleryMcp (4 stars, last pushed 4mo ago), licensed MIT. It adds 581 tokens to every session, about $0.0029 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).