What problem does it solve? HarmonyOS projects accumulate tribal knowledge—module structure, build commands, signing configs, coding conventions—that AI agents and new team members lack. This Skill keeps a project-root AGENTS.md accurate and automatically injected into every DSH session as persistent context. ## Core Features & Use Cases - Automatic context injection: DSH reads the project-root AGENTS.md at the first pre-step of every session, so the agent always has project conventions without manual reading. - Preview-first generation: The dcli__agents_md tool reads build-profile.json5, app.json5, module.json5, and main_pages.json to generate project overview, modules, SDK versions, and command lists; it previews with apply=false and only writes with apply=true using backup and atomic replacement. - Managed block preservation: Content between DSH-HMOS-MANAGED markers is rebuilt on refresh while custom sections outside the markers (feature lists, acceptance contracts) are preserved. - Use Case: After creating a new HarmonyOS project with dcli__create_project, run the tool to generate an AGENTS.md capturing bundleName, products, page routes, and signing guidance so every future session starts with correct project context. ## Quick Start Generate an AGENTS.md for my HarmonyOS project root using dcli__agents_md in preview mode, then apply it after I confirm the content.