Skip to content

怎么在一个Hermes里的不同agent使用skillclaw #9

Closed

Description

@UynajGI

比如说我创建了一个不同于主Hermes的profile,这个另一个agent怎么也连上同一个skillclaw

Activity

  1. Upper9527 commented on Apr 21, 2026

    @Upper9527
    Collaborator

    哈喽同学,

    • 如果你只是“在同一个 Hermes 安装里建了另一个 agent/profile”,但它仍然共用 ~/.hermes/
      config.yaml,那它其实已经连上同一个 SkillClaw 了,不需要额外配置。
    • 如果你这个新 profile 有自己独立的配置目录或独立 config 文件,那 SkillClaw 不会自动帮你
      改。你需要把那个 profile 手动配到同一个代理。

    手动要配的核心就是这几项,值跟你主 Hermes 一样:

    model:
    provider: custom
    base_url: http://127.0.0.1:30000/v1
    default: skillclaw-model
    api_key: skillclaw
    api_mode: ""

    其中:

    • 30000 是默认端口,实际以 skillclaw config show 里的 proxy.port 为准
    • skillclaw-model 是默认暴露给 agent 的模型名,实际以 proxy.served_model_name 为准
    • skillclaw 是默认代理 key;如果你在 SkillClaw 里改过 proxy.api_key,这里也要一致

    如果你还希望两个 profile 共享同一套本地技能库,最稳妥的做法是让它们都指向同一个 skills 目
    录,默认就是 ~/.hermes/skills。当前 SkillClaw 对 Hermes 的默认 skills 目录也是这个:
    skillclaw/config_store.py#L18、skillclaw/config_store.py#L138。如果第二个 profile 用了别的
    skills 目录,它可以连上同一个 SkillClaw 代理,但本地看到的技能库不一定还是同一份。

  2. Upper9527 commented on Oct 21, 2026

    @Upper9527
    Collaborator

    补充当前边界:多个 Hermes profile 可以手动连接同一个代理,但主分支的自动配置仍默认针对 ~/.hermes/config.yaml,尚未完整支持选择 profile。若已经手动配置好各 profile,可先运行 skillclaw config claw_type none,重启代理后就不会再由 adapter 改写默认 Hermes 配置;需要恢复时再使用已有备份。

    这条“如何接入”的问题按已答复关闭。自动选择 profile、避免意外改配置的缺陷继续在 #71 / #72 跟踪,不能把它当作已修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions