/pallas:pallas-setupfrom pallas
Sets up, activates, diagnoses, updates, migrates, or rolls back the native Pallas advertising analysis plugin in Codex or Claude Code. Run before analysis when Pallas tools are unavailable or a project needs its first connection.
Ships in pallas. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve this Skill's installed plugin root from its file path (two parents above this Skill directory). The executable is scripts/pallas.mjs. Run it with Node.js 22+ on macOS or Windows 11 x64; use an absolute path and quote it for the actual shell. Windows ARM64, older Windows and WSL/Linux setup are unsupported. On PowerShell invoke node "C:\absolute\plugin\scripts\pallas.mjs" with a quoted absolute --project path; do not copy POSIX shell syntax. Windows native-machine, host and real OAuth acceptance is pending for this development build; never infer that it passed from doctor or synthetic checks. Never use a path guessed from another user's machine. The plugin is a local runtime, not a cloud service.
node PLUGIN_ROOT/scripts/pallas.mjs setup --client codex|claude --project PROJECT, selecting the actual host. Setup prepares or reuses Python and the bundled runtime, writes a project binding, and leaves media authorization separate. For Codex it also registers exactly one project MCP entry with an absolute launcher and workspace path; Claude Code loads its bundled MCP declaration. It may need network access to install dependencies. Existing files and host trust prompts must be respected.--migrate. Custom server configuration may require manual review. Do not bypass the guard by deleting files. A rollback restores the last configuration change: node PLUGIN_ROOT/scripts/pallas.mjs rollback --project PROJECT. It refuses to overwrite files edited after that change./pallas:pallas analysis and /pallas:pallas dashboard; Codex uses its discovered Pallas Skill ($pallas where supported). When the user requests the bare project command, run setup with --install-command. It creates a small project Skill that forwards to the installed entrypoint, refuses existing user commands/Skills, and participates in setup rollback. Claude then exposes /pallas analysis and /pallas dashboard; Codex's menu spelling must be checked in its actual host version. This option does not authorize account reads or install a scheduler.doctor --project PROJECT reports the binding, whether the bound runtime matches the installed plugin, and the bound runtime's own checks: serving version/origin, the effective Google configuration source and remaining operator step, and the Meta project registration/read-guard state. Use it, not a pallas found on PATH: an older standalone or npm executable can report a different readiness. It does not prove host tool loading, host authentication or media consent. A lock means a Pallas process is active or a prior process crashed: inspect its recorded PID and close the relevant session. Only remove a stale lock after confirming that its process is gone. Idle discovery connections may coexist. Data operations use the project lock and return a busy result if another operation is in progress. Finish the other operation before retrying.After activation, use source_connect_or_import(action=options, platform=...). A publisher-configured release supplies the Google Desktop and public Meta application identities; the advertiser supplies no JSON, client ID, certificate or secret. Call connect with the requested platform and open_browser=true, then poll source_auth_status in the same MCP process. Pallas-owned Meta uses the Pallas HTTPS callback and an automatic loopback receiver, on both Codex and Claude Code. It requires no host Meta registration, /mcp or session restart. Consent, account access and report readiness remain separate; the native Meta data adapter is still pending.
For an explicit request to log in again, always start a new authorization session. To replace a Pallas connection use its connection_id and reauthorize=true; keep the old grant until the new one succeeds. Never use another installed Meta connector's cached login as proof of a new Pallas authorization. Report browser_open_failed honestly and offer the returned URL; the system browser may require a normal user confirmation.
Compatibility: on Windows, use Pallas-owned browser OAuth or file analysis; legacy Meta host hooks and local-certificate setup are unsupported. Obtain a publisher-configured build if application setup is missing. On macOS, if Meta reports host_client_managed, follow the host workflow. Claude native projects can use connect-meta --project PROJECT, retaining unrelated servers/hooks and refusing conflicting custom configuration. Host registration and /mcp authentication are a legacy route; do not tell desktop users that /mcp is available in the Code tab. Codex's preregistered host route also remains separate. Never transfer host credentials. If Google reports operator_setup_required, the installed release lacks an effective application; the publisher must supply the configured build. The optional providers google-desktop command is for operators who explicitly choose their own client, never advertiser homework. Existing workspace/user overrides remain authoritative; plugin updates do not erase them.
Let the user select an accessible account and reporting period, then retrieve and analyze data using the common pallas-analysis template. File-only users can skip authorization: preview the supplied CSV/XLSX, confirm its interpretation, import, and report. Internal samples are not a substitute for the user's data.
After updating the plugin through the host, close old Pallas sessions and run setup again for each bound project. It selects the runtime shipped with the installed plugin, retaining old runtime versions and project data for recovery. Do not run the old npm update command on a migrated native-plugin project: it would recreate project Skills. The legacy npm runtime can remain on disk for rollback or other projects.
Before disabling or uninstalling, run deactivate --project PROJECT for each Codex project to remove its verified generated MCP entry; stop the active sessions first. Then uninstall in the host. This prevents a dangling launcher after cache removal. Uninstalling the plugin does not delete the project's .pallas data or revoke media authorization. A migrated project can restore its last setup backup; disable the native plugin before using the restored project MCP. Preserve backups for user review.
Only arrange scheduled checks when requested and supported by the host. Confirm timezone, account, reporting period and notification preferences. The scheduled job must run in the same prepared project with the plugin and authorized connection available, retrieve fresh data and report failed/expired authorization. For files, an updated export is necessary. Pallas itself does not run a scheduler. Do not create a schedule during installation.
Windows runtime cache defaults to %LOCALAPPDATA%\Pallas; macOS keeps ~/.local/share/pallas. Respect PALLAS_DATA_HOME. Use private local folders, not network shares, junctions or redirected folders. Normal setup does not require administrator access, Developer Mode or an execution-policy change. Preserve data and existing grants on updates; cross-OS copies of virtual environments or credentials are unsupported.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pallas, advertising-analysis, plugin-setup, migration, rollback
npx claudepluginhub jieyi-deng/pallas-ads --plugin pallas6 skills in this plugin
/pallasRun the Pallas command entrypoint for advertising analysis, persistent dashboards, help and workspace status. Use for /pallas analysis, /pallas dashboard, or an explicit request to use the Pallas command. Source setup and specialized interpretation use the companion Pallas skills./pallas-analysisGenerate local HTML advertising analysis reports from authorized Pallas connections, retained host captures, imported files or comparisons. Use for account diagnosis and evidence-backed reports; use pallas-dashboard for persistent dashboards./pallas-competitorsResearch a product, brand, app, game or service's competitors from public sources in seven stages (scope, market context, competitor selection, evidence profiles, go-to-market and acquisition, investment and performance, synthesis) and build a cited Pallas HTML report that separates verified facts, sourced estimates, observations, inference and hypotheses. Use when the user asks who competes with them, how competitors acquire users or what competitor activity implies for their growth or marketing; not for reading the user's own ad accounts or for scraping logged-in tools./pallas-dashboardCreate and update a local Google, Meta and TikTok advertising dashboard from authorized accounts or user-uploaded history, using a validated daily data template and deterministic calculations. Use for cross-platform dashboards and user-approved daily refreshes./pallas-workflowCreate confirmed Pallas product profiles and operate local imports, experimental source connections, comparisons, monitors and reports through the Pallas CLI or MCP. Use for Pallas acquisition workflows, not arbitrary advertising queries or media buying.Other plugins' skills for the same job