一键导入
cloud-workflow
Use maina cloud for team prompt sync, hosted verification, and feedback-driven learning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use maina cloud for team prompt sync, hosted verification, and feedback-driven learning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run maina's two-stage AI code review checking spec compliance then code quality.
Generate rich codebase context using maina's 4-layer retrieval with dynamic token budgets.
First-time maina setup and configuration in any AI coding tool.
Scaffold and validate feature plans using maina's spec-first planning workflow.
Follow maina's test-driven development cycle from generated stubs through red-green-refactor.
Run maina's full verification pipeline on staged changes before committing code.
| name | cloud-workflow |
| description | Use maina cloud for team prompt sync, hosted verification, and feedback-driven learning. |
| triggers | ["cloud verification","sync prompts","team setup","hosted verify","maina cloud","share prompts"] |
When working in a team, when you want hosted verification without installing tools locally, or when you want prompts and feedback to sync across team members. Cloud is optional -- all maina commands work offline.
maina login. This opens a browser-based OAuth device flow (same as GitHub CLI). Your token is stored at ~/.maina/auth.json.maina sync push uploads your local .maina/prompts/ to the team.maina sync pull downloads the team's prompts and merges with your local copies.maina verify --cloud. Your diff is submitted to Maina Cloud, the full 18-tool pipeline runs on cloud workers, and results stream back to your terminal. No local tool installs required.maina learn --cloud. This uploads your local feedback events, fetches team-wide improvement suggestions, and shows which prompts are healthy vs need attention.maina team to view members and maina team invite <email> to add new members.- uses: mainahq/maina/.github/actions/verify@main
with:
token: ${{ secrets.MAINA_TOKEN }}
# One-time setup
maina login
# Opens browser: enter code ABCD-1234
# Share your prompts with the team
maina sync push
# Uploaded 3 prompts (2 new, 1 updated)
# Pull team prompts
maina sync pull
# Downloaded 5 prompts (3 new, 0 conflicts)
# Verify in the cloud
maina verify --cloud
# Submitted diff (42 lines). Waiting...
# [syntax] PASS (cloud)
# [semgrep] PASS (cloud)
# [trivy] PASS (cloud)
# All checks passed. Proof: https://api.mainahq.com/proof/abc123
# Learn from team patterns
maina learn --cloud
# Uploaded 12 feedback events
# Team accept rate: 87% (commit: 92%, review: 78%)
# Suggestion: review prompt needs improvement (accept rate below 80%)
verify --cloud.maina logout to clear stored credentials.MAINA_CLOUD_URL for self-hosted instances.maina <command> or npx @mainahq/cli <command>) and MCP tools when running inside an AI coding tool.