Skip to content
Back to skills

Analyticsadmin

ASecurity

Use when the task touches Google Analytics Admin through grr (55 methods under `grr analyticsadmin` — properties, accounts, accountSummaries). Carries the service's generated command map, the naming rule applied to analyticsadmin, example commands verified with --dry-run, and the least-privilege scope callout.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgoapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add debanjanbasu/grr-cli --skill analyticsadmin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analyticsadmin?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Analyticsadmin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/debanjanbasu-analyticsadmin/badge)](https://www.skillsdirectory.com/skills/debanjanbasu-analyticsadmin)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: grr-analyticsadmin
description: "Use when the task touches Google Analytics Admin through grr (55 methods under `grr analyticsadmin` — properties, accounts, accountSummaries). Carries the service's generated command map, the naming rule applied to analyticsadmin, example commands verified with --dry-run, and the least-privilege scope callout."
---

<!-- GENERATED by scripts/generate-skills.ts from the committed Discovery index — index generated at 2026-11-27T13:50:27.758Z. Do not edit by hand; regenerate with `npm run skills`. -->

# grr analyticsadmin — Google Analytics Admin API

**55 methods**, v1beta, Discovery revision 20261121, all reached as `grr analyticsadmin <resource…> <method>` and generated from the same committed index as the CLI tree — this file, `grr api`, and `grr analyticsadmin --help` never disagree. Load the core skill first: [grr](../grr/SKILL.md) owns the discovery discipline, the output contract, the safety flags, multi-account, `mcp`, and `ask`.

## Coverage

| Resource path (the id prefix — each command walks these words) | Methods |
| --- | --- |
| `properties` | 9 |
| `accounts` | 8 |
| `properties.conversionEvents` | 5 |
| `properties.customDimensions` | 5 |
| `properties.customMetrics` | 5 |
| `properties.dataStreams` | 5 |
| `properties.dataStreams.measurementProtocolSecrets` | 5 |
| `properties.keyEvents` | 5 |
| `properties.googleAdsLinks` | 4 |
| `properties.firebaseLinks` | 3 |
| `accountSummaries` | 1 |

## Naming, applied to analyticsadmin

- Id dots become spaces: `analyticsadmin.properties.list` → `grr analyticsadmin properties list`. Resource segments and method names keep their exact Discovery casing (`otherContacts`, `getProfile`).
- Flags are the same ids, camelCase → kebab-case: `userId` → `--user-id`, `maxResults` → `--max-results`. Integers parse as numbers, booleans are presence flags, repeated parameters repeat, enum parameters validate.
- No parameter in this service collides with the reserved flag names (`params`, `body-file`, `query`, `dry-run`, `format`).
- Request bodies are untyped by design: `--params '<json>'` or `--body-file PATH|-`. Typed flags win on conflict.

## Examples

```sh
grr analyticsadmin properties list --page-size 10
grr analyticsadmin properties get --name <name>
grr analyticsadmin accountSummaries list --page-size 10
grr analyticsadmin properties create --dry-run
```

Values in `<angle brackets>` are placeholders — substitute real ids (`me` is the authenticated user wherever the parameter is `--user-id`). Append `--dry-run` to any example to print the resolved request — verb, URL, scopes — instead of sending it.

## Scopes

- Least privilege for reads: `https://www.googleapis.com/auth/analytics.readonly` — the narrowest scope the service's methods accept (it is the least-privilege scope for 23 of 55 methods). Per method, ask the index: `grr api describe <id>` → `leastPrivilegeScope`.
- Scope honesty: a login grants only the scopes it asked for — `grr auth login` requests a small default set, `--service <name>` adds one service's scopes from the embedded index, `--all-scopes` the whole union — minus the Chat app-authentication scopes Google grants only to a service account (`chat.bot`, `chat.app.*`, `chat.import`), which a user consent screen cannot show. A `403` is therefore not a missing consent: it is either a scope outside the current grant (the remedy is a human re-running `grr auth login --service <name>`) or an API that is not enabled on the Cloud project. Surface that distinction; never retry a 403 in a loop.

## Contract

- stdout is data, stderr is logs; JSON by default, `-f jsonl|table|pretty` to switch.
- `--dry-run` before anything destructive — the resolved request as JSON, nothing sent.
- Non-zero exit on failure; errors are actionable (a 403 names the missing scope, a typo gets ranked suggestions).

## Go deeper

- Core skill: [skills/grr/SKILL.md](../grr/SKILL.md) — discipline, contract, safety, accounts.
- `grr api describe analyticsadmin.properties.list` — the authority on one method's parameters and scopes.
- `grr api list --service analyticsadmin` and `grr analyticsadmin --help` — browse the whole branch, offline, before any login.
- Site reference: [grr-cli.pages.dev/docs/api-reference/analyticsadmin/](https://grr-cli.pages.dev/docs/api-reference/analyticsadmin/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.