Beta

Manage installed agent skills

用法: mf skills [command]

Option

Option用途
-h, --helpdisplay help for command

Subcommand

命令用途
mf skills installedList installed skills (optionally filter by agent)
mf skills discoverDiscover skills available to install
mf skills installInstall a skill on one agent (or many via —agent-ids)
mf skills updateEnable or disable an installed skill
mf skills deleteUninstall a skill
mf skills libraryManage your personal skill library
mf skills reposManage skill repositories (admin / api.full)

mf skills installed

List installed skills (optionally filter by agent)

用法: mf skills installed [options]

Option

Option用途
--agent-id <id>filter to this agent
--include-runtimeinclude runtime-level skills
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills discover

Discover skills available to install

用法: mf skills discover [options]

Option

Option用途
--agent-id <id>filter to this agent context
--q <query>search query
--repo-id <id>filter to a specific repo
--sort <order>’featured’ (default) or ‘latest’
--cursor <cursor>opaque cursor from previous page
--limit <n>page size (1-100, default 100)
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills install

Install a skill on one agent (or many via —agent-ids)

用法: mf skills install [options]

Option

Option用途
--skill-id <id>skill id from discover or library 必填。
--agent-id <id>agent id (defaults to the global —agent-id / $MF_AGENT_ID)
--agent-ids <ids>comma-separated agent ids for a batch install
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills update

Enable or disable an installed skill

用法: mf skills update [options] <userSkillId>

Argument

参数用途
<userSkillId>

Option

Option用途
--enabledenable the skill
--disableddisable the skill
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills delete

Uninstall a skill

用法: mf skills delete [options] <userSkillId>

Alias: rm

Argument

参数用途
<userSkillId>

Option

Option用途
-y, --yesconfirm uninstall
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf skills library

Manage your personal skill library

用法: mf skills library [command]

Option

Option用途
-h, --helpdisplay help for command

Subcommand

命令用途
mf skills library listList library skills
mf skills library getShow a library skill (metadata + SKILL.md)
mf skills library createCreate a library skill
mf skills library updateUpdate a library skill (name / description / SKILL.md)
mf skills library importImport a skill from a GitHub URL, catalog entry, share link, or .skill/.zip archive
mf skills library shareCreate or show the share link for a library skill (id or name)
mf skills library exportDownload a library skill as a .skill archive
mf skills library deleteDelete a library skill
mf skills library pushPush the current skill content to installed agents (all by default)
mf skills library filesManage a library skill’s supporting files

mf skills library list

List library skills

用法: mf skills library list [options]

Alias: ls

Option

Option用途
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library get

Show a library skill (metadata + SKILL.md)

用法: mf skills library get [options] <skillId>

Argument

参数用途
<skillId>

Option

Option用途
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library create

Create a library skill

用法: mf skills library create [options]

Option

Option用途
--name <name>skill name 必填。
--description <text>skill description
--content <markdown>SKILL.md content inline
--content-file <path>read SKILL.md content from a file
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library update

Update a library skill (name / description / SKILL.md)

用法: mf skills library update [options] <skillId>

Argument

参数用途
<skillId>

Option

Option用途
--name <name>new skill name
--description <text>new description
--content <markdown>new SKILL.md content inline
--content-file <path>read new SKILL.md from a file
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library import

Import a skill from a GitHub URL, catalog entry, share link, or .skill/.zip archive

用法: mf skills library import [options]

Option

Option用途
--url <url>github.com repo / tree / SKILL.md blob URL
--file <path>local .skill or .zip archive
--catalog-skill-id <id>copy a catalog skill to the library
--share <url-or-id>copy a shared skill via its link or lss_… id
--on-conflict <mode>fail | overwrite | rename
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library share

Create or show the share link for a library skill (id or name)

用法: mf skills library share [options] <skill>

Argument

参数用途
<skill>

Option

Option用途
--revokerevoke the active share link
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library export

Download a library skill as a .skill archive

用法: mf skills library export [options] <skillId>

Argument

参数用途
<skillId>

Option

Option用途
-o, --output <path>output file path
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library delete

Delete a library skill

用法: mf skills library delete [options] <skillId>

Alias: rm

Argument

参数用途
<skillId>

Option

Option用途
-y, --yesconfirm deletion
--forceuninstall from all agents before deleting
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf skills library push

Push the current skill content to installed agents (all by default)

用法: mf skills library push [options] <skillId>

Argument

参数用途
<skillId>

Option

Option用途
--agent-ids <ids>comma-separated agent ids to push to
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library files

Manage a library skill’s supporting files

用法: mf skills library files [command]

Option

Option用途
-h, --helpdisplay help for command

Subcommand

命令用途
mf skills library files setCreate or update a supporting file
mf skills library files deleteDelete a supporting file

mf skills library files set

Create or update a supporting file

用法: mf skills library files set [options] <skillId>

Argument

参数用途
<skillId>

Option

Option用途
--path <path>file path inside the skill 必填。
--content <text>file content inline
--content-file <path>read file content from a local file
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills library files delete

Delete a supporting file

用法: mf skills library files delete [options] <skillId> <fileId>

Alias: rm

Argument

参数用途
<skillId>
<fileId>

Option

Option用途
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills repos

Manage skill repositories (admin / api.full)

用法: mf skills repos [command]

Option

Option用途
-h, --helpdisplay help for command

Subcommand

命令用途
mf skills repos listList skill repos
mf skills repos createRegister a new skill repo
mf skills repos updateUpdate a skill repo (branch / enabled)
mf skills repos deleteRemove a skill repo

mf skills repos list

List skill repos

用法: mf skills repos list [options]

Alias: ls

Option

Option用途
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills repos create

Register a new skill repo

用法: mf skills repos create [options]

Option

Option用途
--owner <owner>github owner 必填。
--name <name>repo name 必填。
--branch <branch>branch (default: main)
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills repos update

Update a skill repo (branch / enabled)

用法: mf skills repos update [options] <repoId>

Argument

参数用途
<repoId>

Option

Option用途
--branch <branch>new branch
--enabledenable the repo
--disableddisable the repo
--jsonemit raw JSON
-h, --helpdisplay help for command

mf skills repos delete

Remove a skill repo

用法: mf skills repos delete [options] <repoId>

Alias: rm

Argument

参数用途
<repoId>

Option

Option用途
-y, --yesconfirm deletion
--jsonoutput the result as JSON
-h, --helpdisplay help for command
这个页面有帮助吗?