deepseek-ai/deepseek-harness · error · Error

skill.list failed: ${result.error.code}: ${result.error.mess

Error message

skill.list failed: ${result.error.code}: ${result.error.message}

What it means

Error "skill.list failed: ${result.error.code}: ${result.error.message}" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/client/ui-skill/src/client/index.ts:98

      try {
        listener()
      } catch (error) {
        // Contain listener failures: settlement notifies from an ignored
        // promise chain (a throw would surface as an unhandled rejection)
        // and one faulty consumer must not starve the others.
        console.error('[ui-skill] lexicon listener failed:', error)
      }
    }
  }

  const fetchCatalog = (sessionId: SessionId): Promise<readonly SkillEntry[]> => {
    if (sessions.subagentAddress(sessionId) !== undefined) return Promise.resolve([])
    const existing = fetches.get(sessionId)
    if (existing !== undefined) return existing.promise
    const abort = new AbortController()
    const promise = (async () => {
      const { result } = await skills.list({ sessionId }, abort.signal)
      if (!result.ok) throw new Error(`skill.list failed: ${result.error.code}: ${result.error.message}`)
      return result.value.skills
    })()
    const entry: CatalogFetch = { promise, abort }
    fetches.set(sessionId, entry)
    promise.then(
      // Settled snapshot backs the synchronous lexicon reads.
      (skills) => {
        entry.settled = skills
        notifyLexicon(sessionId)
      },
      // A failed fetch must not poison the key: the next consumer retries.
      () => {
        if (fetches.get(sessionId) === entry) fetches.delete(sessionId)
      },
    )
    return promise
  }

View on GitHub (pinned to b150a551b8)

Solutions

  1. Ensure the skill service is available and read the reported code and message.

When it happens

Trigger: Thrown at packages/client/ui-skill/src/client/index.ts:98 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24). Data as JSON: /api/errors/8b89eeea10fe6e22. Report an issue: GitHub.