Docs

NoClick's docs as Markdown: the guides, skills (task playbooks), SDK reference, examples and API operations, searched and read with no key, as noclick docs and noclick skill print them.

class Docs

NoClick's docs, for code and coding agents: no key needed.

searchstatic

static search(
  query?: string,
  options?: { kind?: string; limit?: number; client?: NoClick },
): Promise<DocHit[]>

Search the docs, best first; with no query, list every guide page and skill (or kind's: guide, skill, reference, example, event, api).

for (const hit of await Docs.search("send email from an agent", { limit: 5 })) console.log(hit.id, hit.title);
Parameters
querystring
options.kindstring
options.limitnumber

Return at most this many.

(default 20)
options.clientNoClick
Returns

Up to limit hits (at most 50 with a query).

readstatic

static read(id: string, options?: { client?: NoClick }): Promise<Doc>

Read one doc whole: a hit's id, or a bare name (apps), which reads the guide, else the skill, so named. One nobody has rejects with NotFound.

console.log((await Docs.read("skill:ship-an-app")).text);
Parameters
idstringrequired
options.clientNoClick
Returns

The doc, its text as Markdown.

Doc

interface Doc

One guide page or section, skill, reference entry, example or API operation, whole: text is Markdown.

Attributes
idstring
kindstring
titlestring
summarystring
urlstring | null
statusstring
textstring
sectionsstring[]

A page's sections, by id.

rawJsonObject

The response JSON exactly as the API sent it.

Types
type JsonObject = { [key: string]: unknown };

DocHit

interface DocHit

A doc a search found, or one a listing names: its id (guide:apps, skill:ship-an-app) reads it whole.

Attributes
idstring
kindstring
titlestring
urlstring | null
snippetstring
statusstring

built, or designed for an API call that doesn't work yet.

rawJsonObject

The response JSON exactly as the API sent it.

Types
type JsonObject = { [key: string]: unknown };