@aiagenta2z/agtm
v1.1.2
Published
agtm: CLI Tool for AI Agent Management, Skills, Agent Registry, Benchmarks and Hints in AI Agent Marketplace
Readme
agtm: CLI Tool for AI Agent Management, Skills, Agent Registry, Benchmarks and Hints in AI Agent Marketplace
GitHub|AI Agent Marketplace CLI Doc|DeepNLP AI Agent Marketplace | OneKey Gateway | Agent MCP OneKey Router Ranking | NodeJS agtm
agtm (AI Agent Manager CLI) unifies skill management, agent registration, marketplace search, and provider CLI execution. Install skills from GitHub, log and rate skill runs, upload agent metadata to registries, query the public marketplace, and run agent toolchains with fuzzy hints.
Features
agtm skills: Manage Skills, Add Skills, List Skills, Log Skills Performance, Skills performance Evaluator, compare to realworld benchmarks
agtm upload: AI Agent Registry, register local agent meta information of json or yaml format(agent.json/agent.yaml) or sync your github source meta including README.md
agtm search: Search the open source AI Agent Marketplace, including github community, huggingface community, product hunt community, deepnlp ai agent marketplace index, etc
agtm run: Run agent clis, don't need to remember, with the powerful hints and completion ability, just type a few characters and "--hint" will help you complete the command line.
The agent cli run hint from "play" to "playwright" complete cli.
Furthermore, agtm provides memory to track skill outputs and enables performance rating against industry job level benchmarks. This allows you to score each skill execution and assign a professional tier to your AI Agent's capabilities—for example, evaluating its performance as equivalent to that of an L3 or L5 software engineer, marketing professional, etc.
skill_id run_times score level
------------------- --------- ----- -----
code_success_skills 5 0.9 L3(100%)
code_fail_skills 4 0.9 L3(100%) Quickstart
Installation
Node
npm install -g @aiagenta2z/agtmRun a playwright Webpage cli
Setup hint and skills benchmark
npx agtm setup --levels ## Needed before `agtm rate`, to sync the benchmarks json to local folder
npx agtm setup --hint ## Needed before `agtm run` npm install -g @playwright/cli@latest
agtm run play
### hint to "playwright-cli goto" command lineResult Hint
Selected Skill/Cli is microsoft/playwright-cli
Enter command to run (leave empty to list cli hints): play
Complete the Cli with your arguments or leave blank and press Enter
Final command line [playwright-cli goto <url>]:
playwright-cli goto https://www.google.com
agtm run microsoft/playwright-cli playwright-cli goto https://www.google.com
### Browser `default` opened with pid 4603.
- default:
- browser-type: chrome
- user-data-dir: <in-memory>
- headed: false
---
### Ran Playwright code
await page.goto('https://www.google.com');
### Page
- Page URL: https://www.google.com/
- Page Title: Google
### Snapshot
- [Snapshot](.playwright-cli/page-2026-03-22T03-08-05-614Z.yml)Agtm CLI Options
| CLI | Command and Options | Document | |-------------|-------------------------------------------|--------------------------------| | agtm skills | add, list, log, rate | Doc | | agtm search | --q query | Doc | | agtm upload | --github --config to local agent meta | Doc | | agtm run | --hint agent-cli hint and auto completion | Doc |
skills
skills add
Download and add skills to your agent directory.
Usage
npx agtm skills add <unique_id>
npx agtm skills add <github_url>
npx agtm skills add <github_url> -a <agent_id>
npx agtm skills add <owner_id/repo_id> -s <skill_id>Example
npx agtm skills add anthropics/skills -a claude-code ## install skills only to claude-codex
npx agtm skills add msitarzewski/agency-agents
npx agtm skills add aiagenta2z/onekey-gateway
npx agtm skills add msitarzewski/agency-agents -s academic-anthropologist -a codex
npx agtm skills add anthropics/skills -s skill-creator -a claude-code --globalskills list
Usage
npx agtm skills list
npx agtm skills list --agent <agent_id> --globalLists installed skills with agent, skill_id, description, install path, average score, and aggregated level (if ratings exist).
Example
npx agtm skills list
npx agtm skills list --agent codex
npx agtm skills list --agent claude-code --globalskills log
Usage
npx agtm skills log <skill_id> --data '<json_payload>'- Persists a run record at
.agtm/skills/log/<uuid>.json(or the--logDiryou supply). <json_payload>must contain at leastinputandoutput; optional fields (meta, rating, level) are accepted.
Example
npx agtm skills log <skill_id> --data '{"input":"write a website for store","output":"success"}'
npx agtm skills log code_success_skills --data '{"input":"generate sql","output":"ok","meta":{"agent":"claude-code"}}'skills rate
Setup
To use the rate command, have to setup the benchmark levels configuration. save to ./agtm/levels/*.json files
npx agtm setup --levelsUsage
npx agtm skills rate prepare --skill_id <skill_id> --prompt "<eval_prompt>" --benchmark <path/benchmark.json>
npx agtm skills rate apply --skill_id <skill_id> --result '<result_json>'
npx agtm skills rate show --skill_id <skill_id>prepareexports logs plus the top benchmark slices (e.g., Google SWE L3–L7) for an external evaluator.applywrites evaluator outputs (rating,level) back to each log.showsummarizes run counts, average score, and level distribution.
Example
npx agtm skills rate prepare --skill_id code_success_skills --prompt "Evaluate the results" --benchmark path/customized_agent_benchmark.json
npx agtm skills rate apply --skill_id code_success_skills --result '{"results":[{"log_id":"3679a3fe-4d97-4eb1-83bc-f83d711be195","rating":0.90,"level":"L4"}]}'
npx agtm skills rate show --skill_id code_success_skillsSample output:
skill_id run_times score level
------------------- --------- ----- -----
code_success_skills 3 0.88 L4(100%)Benchmarks live in data/config/levels/*.json and follow this structure:
{
"software-engineering": {
"Google": [
{ "level": "L3", "title": "Software Engineer II", "description": "Entry-level engineer. Delivers well-scoped tasks with guidance.", "signals": ["task execution","learning velocity","code quality basics"] },
{ "level": "L4", "title": "Software Engineer III", "description": "Independent contributor. Owns small features end-to-end.", "signals": ["ownership","code quality","debugging ability"] }
]
}
}The evaluator compares each <input,output> log to the benchmark definitions and assigns a rating. You can customize levels such as poor, fair, good, excellent in your benchmark file.
Partial List of Skills and Job Level Description
| Job Category | Company | Levels Description (e.g. Google L3, Meta E4) | |-------------------|---------|-------------------------------------------------------------------------------------------| | Marketing | Apple | marketing_sales_apple_levels.json | | Software Engineer | Google | software_engineer_google_levels.json | | Software Engineer | Meta | software_engineer_meta_levels.json |
write your customized_agent_benchmark.json following the formats
{
"domain": {
"my_benchmark": [
{ "level": "poor", "description": "the skill failed or the output is meaningless"},
{ "level": "fair", "description": "the skills produces fair results, complete the task"},
{ "level": "good", "description": "the skills output a report, an image is good in real life standards.."},
]
}
}Run
Execution of Agent Cli with hints and auto completion.
The run command executes agent workflows with interactive hints and fuzzy CLI completion. Typing a few characters surfaces suggested commands so you can finish the full invocation quickly (for example, typing play will suggest the Playwright runner).
Let's say you want to run an agent command of Playwright to go to a URL and fetch a webpage. You don't need to remember the full command—type play, pick the provider, then pick the CLI action.
Usage
Remember to setup hint before running the agent-cli
agtm setup --hintagtm run <provider_unique_id> <agent_cli>Example
agtm run play
Skill ID suggestions:
1. microsoft/playwright-cli
2. googleworkspace/cli
Skill ID suggestions: 1
Command hints:
1. playwright-cli goto <url> # navigate to a url
2. playwright-cli open [url] # open browser, optionally navigate to url
Select command (number or input custom): 1
Final command [playwright-cli goto <url>]: playwright-cli goto https://www.github.com
agtm run microsoft/playwright-cli playwright-cli goto https://www.github.comSupport CLI List, Please welcome to contrib
| unique_id | agent cli | | --- | --- | | microsoft/playwright-cli | playwright-cli open [url], playwright-cli goto | googleworkspace/cli | gws drive files list --params | aiagenta2z/onekey-gateway | onekey agent <unique_id> <api_id> data_json|@file, onekey mcp <server_name> [--name config_name], onekey llm --provider --model --messages json|@file [--temperature ] [--response-format ] [--options json|@file], onekey llm --payload json|@file | openai/codex-cli | codex, codex exec "[instruction]" | anthropic/claude-code | claude "[prompt]", claude --dangerously-skip-permissions | paul-gauthier/aider | aider --model [model_name], /test [command] | openinterpreter/open-interpreter | interpreter, interpreter --os | google-gemini/gemini-cli | gemini, gemini -p "[prompt] @[file/dir]", gemini --yolo, /memory add "[fact]", /mcp list, /restore
AI Agent Registry
search
agtm search helps to search AI Agent MCP and skills marketplace by id or query keywords.
Example Usage
agtm search --q 'coding agent'
agtm search --id 'google-maps/google-maps'upload
agtm update helps to update your local agent.json or agent.yaml meta information to DeepNLP AI Agent Marketplace Index.
Example Usage
agtm upload --github https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent
agtm upload --config ./agent.json
agtm upload --config ./agent.yamlschema.json should have two keys defined the required fields and optional fields you want to submit from the agent.json file.
Remember to keep the access_key in safe place, the post request will post the access_key as well as schema to the endpoint.
Please visit the command line github package agtm and DOC detailed usage.
Use the test account and access
export AI_AGENT_MARKETPLACE_ACCESS_KEY="TEST_KEY_AI_AGENT_REGISTRY"
agtm upload --config ./agent.json --endpoint https://www.deepnlp.org/api/ai_agent_marketplace/registry --schema ./schema.json
agtm upload --config ./agent.json --endpoint https://www.aiagenta2z.com/api/ai_agent_marketplace/registry --schema ./schema.jsonSkills Agtm-Cli
We provide Skills repo to use in various agents to evaluate skills and run agent hints. The skills can be found in ./skills/ folder
| skill | description |
| ---- | ---- |
| agent-cli-hint-completion | This skill uses agtm run --mode agent to help hint agents clis usage |
| agent-skills-evaluator | This skill use agtm skills log and agtm skills rate to track other skills performance from LLM-based evaluator, match to professional Job Level Benchmarks, such as Google L3 level software engineers/ Apple M3 level marketing specialist performance. |
npx agtm skills add aiagenta2z/agtm ## install all the skill evaluation and skill cli-hints
npx agtm skills add aiagenta2z/agtm -s agent-skills-evaluatornpx skills add aiagenta2z/agtm ## install all the skill evaluation and skill cli-hints
npx skills add aiagenta2z/agtm -s agent-skills-evaluatorContributing
Agent CLI List
You are welcome to contrib your cli list to the agent cli hints json file to folder hints or table README.md
Skill Run Benchmark
You are welcome to contrib your own customized benchmarks of skills and unique levels system in folder levels.
