gads_get_skill
Skill library skill low risk
Shared by every agent.
What it does
Fetch one Scalix Google Ads procedure-skill in full (read-only). skill= is the id from gads_list_skills (e.g. 'select-a-bidding-strategy'). Returns the complete skill document: purpose, when to run, prerequisites, the numbered procedure naming the exact gads_*/ga4_* tools for each step (writes always preview → user approval → commit; steps outside Scalix are marked HUMAN STEP), decision rules with concrete thresholds, and common failure modes. Optional doc= fetches a named extra document inside the same skill folder; optional section= returns just the heading whose title matches (case-insensitive substring; falls back to the full document with a warning). Content-only: no account access, no platform API call. Output: {success, data:{skill, domain, skill_md | content, extra_docs}, warnings}.
When to use it
After gads_list_skills (or a gads tool's [SKILLS] pointer) has named the skill that matches the user's task, and before recommending or executing that task's steps. Use section= to re-read just the decision rules mid-task. The procedures of every Google Ads agent are served here.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
skill | string | yes | The skill id exactly as returned by gads_list_skills, e.g. 'handle-budget-limited-campaigns'. Unknown ids return KB_UNKNOWN_SKILL pointing back at gads_list_skills. |
doc | string | no | Optional bare filename of an extra document listed in the skill's extra_docs. Most skills have none — omit to get the skill itself. Paths are rejected. |
section | string | no | Optional heading to extract (case-insensitive substring match on markdown headings), e.g. 'Decision rules'. No match returns the full document with a warning — never a silent empty result. |
Safeguards
Policy
Knowledge only — fetching a procedure approves nothing. Every write step inside a procedure still requires its own preview → explicit user approval → commit through the named gads_* tool, and gads_policy_guardrail comes before the first Google Ads write of the session. Steps marked HUMAN STEP must be handed to the user, never simulated.
Reminder
Follow the procedure in order; do not skip its prerequisites or decision gates. Fetch real account numbers with the gads read tools before applying any threshold in the skill to a recommendation.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
KB_UNKNOWN_SKILL | The requested skill id does not exist. | Call gads_list_skills (optionally with domain=/search=) and pick an exact id. | yes |
KB_UNKNOWN_DOC | The requested extra document does not exist in this skill. | Use a bare filename from the skill's extra_docs list, or omit doc= for the skill itself. | yes |
KB_UNAVAILABLE | The skills directory could not be read from the deployed image. | Report the deployment issue to the user; do not improvise procedure guidance from memory as if it came from the skill library. | no |
Edge cases
- skill= alone is the normal call: the full skill document plus extra_docs.
- section= with no matching heading is not an error: full document plus a warning.
- doc= takes bare filenames only; anything containing a path separator is rejected.