# Libdoc Search

> Search Robot Framework library/resource/suite documentation to find matching keywords for a use case. Use when asked to find keywords, search libdoc, match a use case to keywords, or scan multiple libraries/resources for relevant keywords.

- Skill: `manykarim/libdoc-search` (Agent Skill)
- Install (CLI): `npx skillmds@latest add manykarim/libdoc-search`
- Raw SKILL.md: https://api.skillmd.com/api/skills/manykarim/libdoc-search/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: manykarim (https://skillmd.com/u/manykarim)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/manykarim/libdoc-search

---


# Robot Framework Libdoc Search

Use this skill to search Robot Framework libraries/resources/suites for keywords that match a use case. Output JSON only.

## Command

Search in standard libraries:

```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rf_libdoc.py" --library BuiltIn --library OperatingSystem --search "create temp file" --pretty
```

Search multiple sources with custom weights:

```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rf_libdoc.py" --library SeleniumLibrary --resource resources/common.resource --search "upload file" --weights name=0.5,short_doc=0.3,doc=0.2 --limit 10 --pretty
```

## Notes
- Use `--library`, `--resource`, `--suite`, or `--spec` (repeatable). Inputs are aggregated.
- Search considers keyword name, `short_doc`, and full `doc`.
- **Output contract (stable):** returns `{schema_version, mode, libraries, results, query, ...}` with `mode="search"`. `results` is a single array of `{library, keyword, usage, score, reasons}` (search items carry `score`/`reasons`; `usage` is `null`). Read `results` without branching on top-level keys.
- **Payload is bounded:** library prose `doc` is **not** included by default — only `{name, type, version, scope, doc_format, short_doc}` per library. Pass `--include-library-doc` to add the full `doc`.
- Use `--tag` to filter keywords by tag.
- Use `--include-private` to include private keywords.
- Use `--exclude-deprecated` to drop deprecated keywords.

