Skip to content

autoRecall does not search viking://agent/skills/ — skills not auto-injected in context #1089

@wang546673478

Description

@wang546673478

Problem\n\nCurrently, the autoRecall feature in the OpenViking plugin only searches two URIs:\n- viking://user/memories\n- viking://agent/memories\n\nIt does not search viking://agent/skills/, which means skills stored via ov add-skill are never automatically recalled into the agent context.\n\n## Relevant code\n\nIn index.ts (around line 519-528):\n\ntypescript\nconst [userSettled, agentSettled] = await Promise.allSettled([\n client.find(queryText, {\n targetUri: "viking://user/memories",\n limit: candidateLimit,\n scoreThreshold: 0,\n }, agentId),\n client.find(queryText, {\n targetUri: "viking://agent/memories",\n limit: candidateLimit,\n scoreThreshold: 0,\n }, agentId),\n]);\n\n\n## Expected behavior\n\nWhen autoRecall is enabled, it should also search viking://agent/skills/ so that skills stored in OpenViking are automatically injected into the agent context — matching the "skills as capabilities" paradigm.\n\n## Suggested fix\n\nAdd a third client.find() call targeting viking://agent/skills/ in the autoRecall search, alongside the existing user/memories and agent/memories searches.\n\n## Workaround\n\nNone — skills are stored but never auto-recalled, which significantly limits the utility of storing skills in OpenViking.\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions