# Send AuditClaw Idp to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "auditclaw-idp",
    "name": "AuditClaw Idp",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/mailnike/auditclaw-idp",
    "canonicalUrl": "https://clawhub.ai/mailnike/auditclaw-idp",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/auditclaw-idp",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auditclaw-idp",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "scripts/requirements.txt",
      "scripts/checks/google_mfa.py",
      "scripts/checks/okta_inactive.py",
      "scripts/checks/google_admins.py",
      "scripts/checks/okta_mfa.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "auditclaw-idp",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T14:33:27.504Z",
      "expiresAt": "2026-05-06T14:33:27.504Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auditclaw-idp",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auditclaw-idp",
        "contentDisposition": "attachment; filename=\"auditclaw-idp-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "auditclaw-idp"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/auditclaw-idp"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/auditclaw-idp",
    "downloadUrl": "https://openagent3.xyz/downloads/auditclaw-idp",
    "agentUrl": "https://openagent3.xyz/skills/auditclaw-idp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/auditclaw-idp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/auditclaw-idp/agent.md"
  }
}
```
## Documentation

### AuditClaw IDP

Companion skill for auditclaw-grc. Collects compliance evidence from Google Workspace and Okta identity providers using read-only API calls.

8 checks | Read-only API access | Evidence stored in shared GRC database

### Security Model

Read-only access: Google Workspace uses admin.directory.user.readonly scope only. Okta uses okta.users.read, okta.factors.read, okta.policies.read scopes only. No write/modify permissions.
Credentials: Uses standard env vars for each provider. No credentials stored by this skill.
Dependencies: Google API client + requests (all pinned in requirements.txt)
Data flow: Check results stored as evidence in ~/.openclaw/grc/compliance.sqlite via auditclaw-grc

### Prerequisites

Google Workspace: Service account JSON with domain-wide delegation, admin email for impersonation
Okta: API token (SSWS) with read-only scopes
pip install -r scripts/requirements.txt
auditclaw-grc skill installed and initialized

### Google Workspace (optional; skip if not configured)

GOOGLE_WORKSPACE_SA_KEY: Path to service account JSON file
GOOGLE_WORKSPACE_ADMIN_EMAIL: Super admin email to impersonate

### Okta (optional; skip if not configured)

OKTA_ORG_URL: Okta organization URL (e.g., https://mycompany.okta.com)
OKTA_API_TOKEN: Okta API token

### Commands

"Run IDP evidence sweep": Run all checks for configured providers
"Check Google Workspace MFA": Run Google MFA check
"Check Okta password policies": Run Okta password policy check
"Show IDP integration health": Last sync, errors, evidence count

### Usage

All evidence is stored in the shared GRC database at ~/.openclaw/grc/compliance.sqlite
via the auditclaw-grc skill's db_query.py script.

To run a full evidence sweep (all configured providers):

python3 scripts/idp_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --all

To run checks for a specific provider:

python3 scripts/idp_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --provider google
python3 scripts/idp_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --provider okta

To run specific checks:

python3 scripts/idp_evidence.py --db-path ~/.openclaw/grc/compliance.sqlite --checks google_mfa,okta_mfa

### Check Categories (8)

CheckProviderWhat It Verifiesgoogle_mfaGoogle WorkspaceAll active users have 2SV enrolled + enforcedgoogle_adminsGoogle WorkspaceSuper admin count 2-4, all with 2SVgoogle_inactiveGoogle WorkspaceNo active users with lastLoginTime > 90 daysgoogle_passwordsGoogle WorkspaceAll users have passwordStrength == "STRONG"okta_mfaOktaAll active users have at least 1 MFA factor enrolledokta_passwordsOktaPassword policy: minLength>=12, history>=5, maxAttempts<=5, maxAge<=90okta_inactiveOktaNo active users with lastLogin > 90 daysokta_sessionsOktaMFA required, session lifetime <= 12h, idle <= 1h

### Evidence Storage

Each check produces evidence items stored with:

source: "idp"
type: "automated"
control_id: Mapped to relevant SOC2/ISO/NIST/HIPAA controls
description: Human-readable finding summary
file_content: JSON details of the check result

### Setup Guide

AuditClaw supports two identity providers. Configure one or both.

### Google Workspace Setup

Step 1: Enable Admin SDK API
Go to Google Cloud Console → APIs & Services → Library → Enable "Admin SDK API"

Step 2: Create Service Account
IAM & Admin → Service Accounts → Create. Enable domain-wide delegation.

Step 3: Grant OAuth Scopes
In Google Admin → Security → API controls → Domain-wide delegation, add the service account with:

https://www.googleapis.com/auth/admin.directory.user.readonly
https://www.googleapis.com/auth/admin.reports.audit.readonly

Step 4: Set Environment Variables

GOOGLE_WORKSPACE_SA_KEY=/path/to/service-account.json
GOOGLE_WORKSPACE_ADMIN_EMAIL=admin@yourdomain.com

### Okta Setup

Step 1: Create API Token
Okta Admin → Security → API → Tokens → Create Token. Name: auditclaw-scanner

Step 2: Required Permissions
The token inherits the creating admin's permissions. Needs read access to: users, factors, policies.
Scopes: okta.users.read, okta.factors.read, okta.policies.read

Step 3: Set Environment Variables

OKTA_ORG_URL=https://mycompany.okta.com
OKTA_API_TOKEN=your-token-here

### Verify Connection

Run: python3 {baseDir}/scripts/idp_evidence.py --test-connection

The exact permissions are documented in scripts/idp-permissions.json. Show with:
python3 {baseDir}/../auditclaw-grc/scripts/db_query.py --action show-policy --provider idp
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mailnike
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T14:33:27.504Z
- Expires at: 2026-05-06T14:33:27.504Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/auditclaw-idp)
- [Send to Agent page](https://openagent3.xyz/skills/auditclaw-idp/agent)
- [JSON manifest](https://openagent3.xyz/skills/auditclaw-idp/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/auditclaw-idp/agent.md)
- [Download page](https://openagent3.xyz/downloads/auditclaw-idp)