@olegkoval/agent-skills 1.30.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/.claude-plugin/plugin.json +4 -2
  2. package/.cursor-plugin/index.json +5 -0
  3. package/.grok-plugin/index.json +5 -0
  4. package/.kiro/steering/website-analytics-bootstrap.md +159 -0
  5. package/.kiro/steering/wikipedia-uk-editor.md +24 -3
  6. package/.windsurf/rules/website-analytics-bootstrap.md +158 -0
  7. package/.windsurf/rules/wikipedia-uk-editor.md +24 -3
  8. package/README.md +8 -6
  9. package/catalog/skills.json +42 -0
  10. package/collections/marketing.json +1 -1
  11. package/collections/software-development.json +2 -1
  12. package/package.json +1 -1
  13. package/packages/marketing/website-analytics-bootstrap/SKILL.md +171 -0
  14. package/packages/marketing/website-analytics-bootstrap/adapters/claude/plugin.json +5 -0
  15. package/packages/marketing/website-analytics-bootstrap/adapters/claude/skills/website-analytics-bootstrap/SKILL.md +172 -0
  16. package/packages/marketing/website-analytics-bootstrap/adapters/cursor/plugin.json +6 -0
  17. package/packages/marketing/website-analytics-bootstrap/adapters/cursor/skills/website-analytics-bootstrap/SKILL.md +172 -0
  18. package/packages/marketing/website-analytics-bootstrap/adapters/grok/plugin.json +6 -0
  19. package/packages/marketing/website-analytics-bootstrap/adapters/grok/skills/website-analytics-bootstrap/SKILL.md +172 -0
  20. package/packages/marketing/website-analytics-bootstrap/adapters/kiro/steering/website-analytics-bootstrap.md +159 -0
  21. package/packages/marketing/website-analytics-bootstrap/adapters/windsurf/rules/website-analytics-bootstrap.md +158 -0
  22. package/packages/software-development/shared-knowledge-artifact/SKILL.md +89 -0
  23. package/packages/software-development/shared-knowledge-artifact/adapters/claude/plugin.json +5 -0
  24. package/packages/software-development/shared-knowledge-artifact/adapters/claude/skills/shared-knowledge-artifact/SKILL.md +90 -0
  25. package/packages/software-development/shared-knowledge-artifact/adapters/claude/skills/shared-knowledge-artifact/references/prompt.txt +78 -0
  26. package/packages/software-development/shared-knowledge-artifact/references/prompt.txt +78 -0
  27. package/packages/software-development/wikipedia-uk-editor/SKILL.md +24 -3
  28. package/packages/software-development/wikipedia-uk-editor/adapters/claude/skills/wikipedia-uk-editor/SKILL.md +24 -3
  29. package/packages/software-development/wikipedia-uk-editor/adapters/claude/skills/wikipedia-uk-editor/references/newcomer-tasks.md +80 -0
  30. package/packages/software-development/wikipedia-uk-editor/adapters/claude/skills/wikipedia-uk-editor/references/strategy.md +10 -0
  31. package/packages/software-development/wikipedia-uk-editor/adapters/claude/skills/wikipedia-uk-editor/scripts/wiki.sh +58 -2
  32. package/packages/software-development/wikipedia-uk-editor/adapters/codex/README.md +39 -9
  33. package/packages/software-development/wikipedia-uk-editor/adapters/cursor/skills/wikipedia-uk-editor/SKILL.md +24 -3
  34. package/packages/software-development/wikipedia-uk-editor/adapters/cursor/skills/wikipedia-uk-editor/references/newcomer-tasks.md +80 -0
  35. package/packages/software-development/wikipedia-uk-editor/adapters/cursor/skills/wikipedia-uk-editor/references/strategy.md +10 -0
  36. package/packages/software-development/wikipedia-uk-editor/adapters/cursor/skills/wikipedia-uk-editor/scripts/wiki.sh +58 -2
  37. package/packages/software-development/wikipedia-uk-editor/adapters/grok/skills/wikipedia-uk-editor/SKILL.md +24 -3
  38. package/packages/software-development/wikipedia-uk-editor/adapters/grok/skills/wikipedia-uk-editor/references/newcomer-tasks.md +80 -0
  39. package/packages/software-development/wikipedia-uk-editor/adapters/grok/skills/wikipedia-uk-editor/references/strategy.md +10 -0
  40. package/packages/software-development/wikipedia-uk-editor/adapters/grok/skills/wikipedia-uk-editor/scripts/wiki.sh +58 -2
  41. package/packages/software-development/wikipedia-uk-editor/adapters/kiro/steering/wikipedia-uk-editor.md +24 -3
  42. package/packages/software-development/wikipedia-uk-editor/adapters/windsurf/rules/wikipedia-uk-editor.md +24 -3
  43. package/packages/software-development/wikipedia-uk-editor/references/newcomer-tasks.md +80 -0
  44. package/packages/software-development/wikipedia-uk-editor/references/strategy.md +10 -0
  45. package/packages/software-development/wikipedia-uk-editor/scripts/wiki.sh +58 -2
@@ -12,6 +12,7 @@
12
12
  "product-builder",
13
13
  "mvp-oneshot",
14
14
  "wikipedia-uk-editor",
15
- "vinted-listing"
15
+ "vinted-listing",
16
+ "shared-knowledge-artifact"
16
17
  ]
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olegkoval/agent-skills",
3
- "version": "1.30.0",
3
+ "version": "1.32.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -0,0 +1,171 @@
1
+ ---
2
+ name: website-analytics-bootstrap
3
+ description: Set up a website's first SEO analytics loop end-to-end: persistent SerpBear rank tracking, Google Search Console, seeded keywords, read-only technical audits, and Telegram alerts on a local host or NAS.
4
+ license: MIT
5
+ allowed-tools: Bash, Read, Write, Edit
6
+ compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires network access, a reachable deployment host, and owner-provided Search Console and alert credentials.
7
+ metadata:
8
+ targets: [_source-only]
9
+ author: Oleg Koval
10
+ tags:
11
+ - seo
12
+ - analytics
13
+ - google-search-console
14
+ - serpbear
15
+ - nas
16
+ - telegram
17
+ - monitoring
18
+ ---
19
+
20
+ > 🤖 *Auto-generated by **weekly-pattern-learner** · reusable first-run website analytics onboarding workflow derived from a validated local/NAS setup pattern*
21
+
22
+ # website-analytics-bootstrap
23
+
24
+ Build a repeatable, observable SEO analytics loop for a website without making unapproved content or code changes.
25
+
26
+ ## Outcome
27
+
28
+ At completion, the operator has:
29
+
30
+ - persistent rank tracking for the target domain and a small, evidence-based keyword seed set;
31
+ - Google Search Console connected to the correct property and verified with a real API query;
32
+ - daily rank/Search Console refreshes;
33
+ - a read-only technical audit for key pages, `robots.txt`, and `sitemap.xml`;
34
+ - Telegram alerts for failures and a weekly health summary;
35
+ - saved reports, raw HTTP responses, logs, schedules, credentials locations, and a concise handoff.
36
+
37
+ This skill automates observation and reporting. Website edits, SEO copy changes, indexing submissions, and deployments remain approval-gated.
38
+
39
+ ## First-run questions
40
+
41
+ Ask at most three questions only when the answer cannot be discovered safely:
42
+
43
+ 1. What is the canonical website URL and which host/NAS should run the service?
44
+ 2. Which Google Search Console property should be used: Domain or URL-prefix?
45
+ 3. Should alerts use an existing Telegram bot/chat, or should the owner create one?
46
+
47
+ Never ask the user to paste private keys, bot tokens, passwords, or app passwords into chat. Accept them through the target UI, a secure secret store, or a protected host file.
48
+
49
+ ## Workflow
50
+
51
+ ### 1. Inspect before changing anything
52
+
53
+ - Read project-local agent instructions and inspect `.claude/scripts/` before making HTTP tooling.
54
+ - Check the current repository, remote, dirty worktree, deployment files, and existing analytics/monitoring integrations.
55
+ - Resolve the host using read-only checks. Prefer the reachable VPN/Tailscale address when the LAN address is unavailable.
56
+ - Check Docker/Container Manager, Node, Python/uv, systemd, and the host's supported scheduler.
57
+ - Preserve unrelated worktree changes. Do not reset, delete, or overwrite broad directories.
58
+ - Check whether an existing skill already covers post-connection GSC indexing analysis; use `search-console-indexing-audit` for that later phase instead of duplicating it.
59
+
60
+ ### 2. Choose the deployment path
61
+
62
+ Prefer a persistent container when Docker is healthy. If Docker is unavailable or broken, use the supported native runtime as a deliberate fallback:
63
+
64
+ - pin the application version used for the setup;
65
+ - store application source separately from persistent data;
66
+ - set a non-default port and an explicit application URL;
67
+ - run under a least-privilege service user;
68
+ - keep secrets in a protected environment file, never in source, shell history, logs, or reports;
69
+ - build and run the production application before configuring automation.
70
+
71
+ Before applying any persistent setup, credential or permission changes, enabling the scheduler, or performing Telegram delivery or test actions, require explicit owner confirmation for that specific action. If confirmation is absent, default to a no-op and do not perform the action. Record the confirmation outcome alongside the actual path, runtime, port, service user, and rollback/restart command.
72
+
73
+ ### 3. Configure SerpBear
74
+
75
+ - Create or verify the admin account without printing the password.
76
+ - Configure a supported scraper/proxy such as SerpApi through the UI or protected settings.
77
+ - Set daily scraping with a conservative strategy and retry behavior appropriate to API quotas.
78
+ - Add the canonical domain exactly once.
79
+ - Seed 8–12 phrases from visible services, locations, and positioning. Start with a mix of branded, service, and location queries; do not invent volume or ranking claims.
80
+ - Verify at least one real rank result and record the initial baseline.
81
+
82
+ Keyword seed examples should be generated from the target site's actual language, for example `{service} photographer`, `{service} {city}`, and the brand name. Expand the list only after Search Console supplies real queries or the owner confirms the market.
83
+
84
+ ### 4. Connect Google Search Console
85
+
86
+ Use a Google Cloud service account created for this integration:
87
+
88
+ 1. Create a JSON key in the service account's **Keys** tab. Keyless authentication is preferred when supported; otherwise document owner-approved rotation schedule, replacement procedure in SerpBear, and immediate disable/delete revocation steps for compromised or retired JSON keys.
89
+ 2. Enable the Google Search Console API in that same Cloud project.
90
+ 3. Add the service account's `client_email` as a **Restricted** user (with read-only access) on the exact Search Console property, retaining the existing `webmasters.readonly` scope and query-validation steps.
91
+ 4. Enter `client_email` and the JSON `private_key` into SerpBear through its protected settings UI.
92
+ 5. Match the property type precisely:
93
+ - Domain property → `sc-domain:example.com`.
94
+ - URL-prefix property → configure the exact URL, including protocol and trailing slash when required.
95
+ 6. Trigger a real query and inspect the response. A saved credential flag is not proof of connectivity.
96
+
97
+ Diagnose in this order:
98
+
99
+ - `403 accessNotConfigured` → enable the Search Console API;
100
+ - `403 Forbidden` → verify the property type and service-account user on that exact property;
101
+ - key/decoder errors → verify the full PEM value and newline handling;
102
+ - empty rows with a successful request → report “connected, no data yet,” not a failure.
103
+
104
+ ### 5. Add the read-only technical audit
105
+
106
+ Use a reusable project-local script or the target runtime's equivalent for repeated HTTP checks. Save every raw response and reproduction metadata before analysis. At minimum check:
107
+
108
+ - `/`, `/work` or the primary portfolio route;
109
+ - the main service/booking route;
110
+ - `/about` and `/contact`;
111
+ - `/robots.txt`;
112
+ - `/sitemap.xml`.
113
+
114
+ For HTML pages, inspect status, title, meta description, canonical, and accidental `noindex`. For robots and sitemap, inspect status, content type, parseability, and sitemap URL count. Do not infer indexation from a 200 response; use Search Console for index status.
115
+
116
+ Before saving artifacts, sanitize HTTP response headers and body fields by removing session-bearing Set-Cookie values and personal data. Restrict artifact file permissions to owner-read-write only and enforce bounded retention with automatic deletion of artifacts older than the documented retention period. Write a JSON report with timestamp, checked URLs, status, latency, issue list, sitemap count, and artifact paths using only sanitized data. Logs must be structured and must not contain credentials or full secret-bearing request data.
117
+
118
+ ### 6. Schedule and alert
119
+
120
+ Prefer a persistent systemd service/timer. If the host cannot install a system unit, use the host's supported scheduler or stop and ask for an operator-approved scheduler change; do not silently assume a user crontab exists.
121
+
122
+ Recommended behavior:
123
+
124
+ - daily audit;
125
+ - immediate Telegram notification only when an actionable issue appears;
126
+ - one weekly healthy/degraded summary;
127
+ - forced test notification during setup;
128
+ - bounded report/artifact retention so daily raw responses cannot fill the NAS.
129
+
130
+ Reuse an existing Telegram bot only when it is explicitly in the same owner scope. Keep bot token and chat ID in a protected environment file and redact them from all output.
131
+
132
+ ### 7. Verify every gate
133
+
134
+ Before claiming completion, verify all of the following:
135
+
136
+ - the web service responds with HTTP 200 on its configured port;
137
+ - the target domain and initial keywords are visible in SerpBear;
138
+ - at least one rank query succeeds;
139
+ - Search Console API query succeeds or returns a clearly documented no-data result;
140
+ - the audit runs successfully and writes a report plus raw artifacts;
141
+ - the scheduler is enabled and its next run is visible;
142
+ - a forced Telegram test succeeds;
143
+ - a simulated or observed failure produces a bounded, actionable notification;
144
+ - logs contain no passwords, private keys, bot tokens, or raw credential payloads;
145
+ - the final report identifies what is automatic, what remains approval-gated, and where to find logs/reports.
146
+
147
+ ## Failure boundaries
148
+
149
+ Stop and ask for direction when:
150
+
151
+ - the target host or property cannot be identified without guessing;
152
+ - credentials are missing and cannot be entered through a secure UI or host file;
153
+ - the desired alert destination is ambiguous;
154
+ - enabling a scheduler requires a destructive or broad privilege change;
155
+ - the requested automation would edit or publish site content without approval.
156
+
157
+ Do not claim “connected” because settings were saved. Do not claim “indexed” because a page returned 200. Do not claim SEO improvement before a baseline and a later comparison exist.
158
+
159
+ ## Handoff format
160
+
161
+ Return a compact handoff containing:
162
+
163
+ - target domain and deployment URL/port;
164
+ - SerpBear version and scraper mode;
165
+ - keyword count and initial baseline;
166
+ - Search Console property type and verification result;
167
+ - audit scope and latest issue count;
168
+ - Telegram schedule and test result;
169
+ - report/log/artifact locations;
170
+ - any manual action still required;
171
+ - explicit statement that no site content or code was changed unless approved.
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "olko-website-analytics-bootstrap",
3
+ "description": "Set up a website's first SEO analytics loop with persistent SerpBear rank tracking, Google Search Console, seeded keywords, read-only technical audits, and Telegram alerts on a local host or NAS.",
4
+ "skills": "./skills"
5
+ }
@@ -0,0 +1,172 @@
1
+ ---
2
+ name: website-analytics-bootstrap
3
+ description: Set up a website's first SEO analytics loop end-to-end: persistent SerpBear rank tracking, Google Search Console, seeded keywords, read-only technical audits, and Telegram alerts on a local host or NAS.
4
+ license: MIT
5
+ allowed-tools: Bash, Read, Write, Edit
6
+ compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires network access, a reachable deployment host, and owner-provided Search Console and alert credentials.
7
+ metadata:
8
+ targets: [_source-only]
9
+ author: Oleg Koval
10
+ tags:
11
+ - seo
12
+ - analytics
13
+ - google-search-console
14
+ - serpbear
15
+ - nas
16
+ - telegram
17
+ - monitoring
18
+ ---
19
+ <!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
20
+
21
+ > 🤖 *Auto-generated by **weekly-pattern-learner** · reusable first-run website analytics onboarding workflow derived from a validated local/NAS setup pattern*
22
+
23
+ # website-analytics-bootstrap
24
+
25
+ Build a repeatable, observable SEO analytics loop for a website without making unapproved content or code changes.
26
+
27
+ ## Outcome
28
+
29
+ At completion, the operator has:
30
+
31
+ - persistent rank tracking for the target domain and a small, evidence-based keyword seed set;
32
+ - Google Search Console connected to the correct property and verified with a real API query;
33
+ - daily rank/Search Console refreshes;
34
+ - a read-only technical audit for key pages, `robots.txt`, and `sitemap.xml`;
35
+ - Telegram alerts for failures and a weekly health summary;
36
+ - saved reports, raw HTTP responses, logs, schedules, credentials locations, and a concise handoff.
37
+
38
+ This skill automates observation and reporting. Website edits, SEO copy changes, indexing submissions, and deployments remain approval-gated.
39
+
40
+ ## First-run questions
41
+
42
+ Ask at most three questions only when the answer cannot be discovered safely:
43
+
44
+ 1. What is the canonical website URL and which host/NAS should run the service?
45
+ 2. Which Google Search Console property should be used: Domain or URL-prefix?
46
+ 3. Should alerts use an existing Telegram bot/chat, or should the owner create one?
47
+
48
+ Never ask the user to paste private keys, bot tokens, passwords, or app passwords into chat. Accept them through the target UI, a secure secret store, or a protected host file.
49
+
50
+ ## Workflow
51
+
52
+ ### 1. Inspect before changing anything
53
+
54
+ - Read project-local agent instructions and inspect `.claude/scripts/` before making HTTP tooling.
55
+ - Check the current repository, remote, dirty worktree, deployment files, and existing analytics/monitoring integrations.
56
+ - Resolve the host using read-only checks. Prefer the reachable VPN/Tailscale address when the LAN address is unavailable.
57
+ - Check Docker/Container Manager, Node, Python/uv, systemd, and the host's supported scheduler.
58
+ - Preserve unrelated worktree changes. Do not reset, delete, or overwrite broad directories.
59
+ - Check whether an existing skill already covers post-connection GSC indexing analysis; use `search-console-indexing-audit` for that later phase instead of duplicating it.
60
+
61
+ ### 2. Choose the deployment path
62
+
63
+ Prefer a persistent container when Docker is healthy. If Docker is unavailable or broken, use the supported native runtime as a deliberate fallback:
64
+
65
+ - pin the application version used for the setup;
66
+ - store application source separately from persistent data;
67
+ - set a non-default port and an explicit application URL;
68
+ - run under a least-privilege service user;
69
+ - keep secrets in a protected environment file, never in source, shell history, logs, or reports;
70
+ - build and run the production application before configuring automation.
71
+
72
+ Before applying any persistent setup, credential or permission changes, enabling the scheduler, or performing Telegram delivery or test actions, require explicit owner confirmation for that specific action. If confirmation is absent, default to a no-op and do not perform the action. Record the confirmation outcome alongside the actual path, runtime, port, service user, and rollback/restart command.
73
+
74
+ ### 3. Configure SerpBear
75
+
76
+ - Create or verify the admin account without printing the password.
77
+ - Configure a supported scraper/proxy such as SerpApi through the UI or protected settings.
78
+ - Set daily scraping with a conservative strategy and retry behavior appropriate to API quotas.
79
+ - Add the canonical domain exactly once.
80
+ - Seed 8–12 phrases from visible services, locations, and positioning. Start with a mix of branded, service, and location queries; do not invent volume or ranking claims.
81
+ - Verify at least one real rank result and record the initial baseline.
82
+
83
+ Keyword seed examples should be generated from the target site's actual language, for example `{service} photographer`, `{service} {city}`, and the brand name. Expand the list only after Search Console supplies real queries or the owner confirms the market.
84
+
85
+ ### 4. Connect Google Search Console
86
+
87
+ Use a Google Cloud service account created for this integration:
88
+
89
+ 1. Create a JSON key in the service account's **Keys** tab. Keyless authentication is preferred when supported; otherwise document owner-approved rotation schedule, replacement procedure in SerpBear, and immediate disable/delete revocation steps for compromised or retired JSON keys.
90
+ 2. Enable the Google Search Console API in that same Cloud project.
91
+ 3. Add the service account's `client_email` as a **Restricted** user (with read-only access) on the exact Search Console property, retaining the existing `webmasters.readonly` scope and query-validation steps.
92
+ 4. Enter `client_email` and the JSON `private_key` into SerpBear through its protected settings UI.
93
+ 5. Match the property type precisely:
94
+ - Domain property → `sc-domain:example.com`.
95
+ - URL-prefix property → configure the exact URL, including protocol and trailing slash when required.
96
+ 6. Trigger a real query and inspect the response. A saved credential flag is not proof of connectivity.
97
+
98
+ Diagnose in this order:
99
+
100
+ - `403 accessNotConfigured` → enable the Search Console API;
101
+ - `403 Forbidden` → verify the property type and service-account user on that exact property;
102
+ - key/decoder errors → verify the full PEM value and newline handling;
103
+ - empty rows with a successful request → report “connected, no data yet,” not a failure.
104
+
105
+ ### 5. Add the read-only technical audit
106
+
107
+ Use a reusable project-local script or the target runtime's equivalent for repeated HTTP checks. Save every raw response and reproduction metadata before analysis. At minimum check:
108
+
109
+ - `/`, `/work` or the primary portfolio route;
110
+ - the main service/booking route;
111
+ - `/about` and `/contact`;
112
+ - `/robots.txt`;
113
+ - `/sitemap.xml`.
114
+
115
+ For HTML pages, inspect status, title, meta description, canonical, and accidental `noindex`. For robots and sitemap, inspect status, content type, parseability, and sitemap URL count. Do not infer indexation from a 200 response; use Search Console for index status.
116
+
117
+ Before saving artifacts, sanitize HTTP response headers and body fields by removing session-bearing Set-Cookie values and personal data. Restrict artifact file permissions to owner-read-write only and enforce bounded retention with automatic deletion of artifacts older than the documented retention period. Write a JSON report with timestamp, checked URLs, status, latency, issue list, sitemap count, and artifact paths using only sanitized data. Logs must be structured and must not contain credentials or full secret-bearing request data.
118
+
119
+ ### 6. Schedule and alert
120
+
121
+ Prefer a persistent systemd service/timer. If the host cannot install a system unit, use the host's supported scheduler or stop and ask for an operator-approved scheduler change; do not silently assume a user crontab exists.
122
+
123
+ Recommended behavior:
124
+
125
+ - daily audit;
126
+ - immediate Telegram notification only when an actionable issue appears;
127
+ - one weekly healthy/degraded summary;
128
+ - forced test notification during setup;
129
+ - bounded report/artifact retention so daily raw responses cannot fill the NAS.
130
+
131
+ Reuse an existing Telegram bot only when it is explicitly in the same owner scope. Keep bot token and chat ID in a protected environment file and redact them from all output.
132
+
133
+ ### 7. Verify every gate
134
+
135
+ Before claiming completion, verify all of the following:
136
+
137
+ - the web service responds with HTTP 200 on its configured port;
138
+ - the target domain and initial keywords are visible in SerpBear;
139
+ - at least one rank query succeeds;
140
+ - Search Console API query succeeds or returns a clearly documented no-data result;
141
+ - the audit runs successfully and writes a report plus raw artifacts;
142
+ - the scheduler is enabled and its next run is visible;
143
+ - a forced Telegram test succeeds;
144
+ - a simulated or observed failure produces a bounded, actionable notification;
145
+ - logs contain no passwords, private keys, bot tokens, or raw credential payloads;
146
+ - the final report identifies what is automatic, what remains approval-gated, and where to find logs/reports.
147
+
148
+ ## Failure boundaries
149
+
150
+ Stop and ask for direction when:
151
+
152
+ - the target host or property cannot be identified without guessing;
153
+ - credentials are missing and cannot be entered through a secure UI or host file;
154
+ - the desired alert destination is ambiguous;
155
+ - enabling a scheduler requires a destructive or broad privilege change;
156
+ - the requested automation would edit or publish site content without approval.
157
+
158
+ Do not claim “connected” because settings were saved. Do not claim “indexed” because a page returned 200. Do not claim SEO improvement before a baseline and a later comparison exist.
159
+
160
+ ## Handoff format
161
+
162
+ Return a compact handoff containing:
163
+
164
+ - target domain and deployment URL/port;
165
+ - SerpBear version and scraper mode;
166
+ - keyword count and initial baseline;
167
+ - Search Console property type and verification result;
168
+ - audit scope and latest issue count;
169
+ - Telegram schedule and test result;
170
+ - report/log/artifact locations;
171
+ - any manual action still required;
172
+ - explicit statement that no site content or code was changed unless approved.
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "olko:website-analytics-bootstrap",
3
+ "version": "0.1.0",
4
+ "description": "Set up a website's first SEO analytics loop with persistent SerpBear rank tracking, Google Search Console, seeded keywords, read-only technical audits, and Telegram alerts on a local host or NAS.",
5
+ "skills": "skills/"
6
+ }
@@ -0,0 +1,172 @@
1
+ ---
2
+ name: website-analytics-bootstrap
3
+ description: Set up a website's first SEO analytics loop end-to-end: persistent SerpBear rank tracking, Google Search Console, seeded keywords, read-only technical audits, and Telegram alerts on a local host or NAS.
4
+ license: MIT
5
+ allowed-tools: Bash, Read, Write, Edit
6
+ compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires network access, a reachable deployment host, and owner-provided Search Console and alert credentials.
7
+ metadata:
8
+ targets: ["cursor"]
9
+ author: Oleg Koval
10
+ tags:
11
+ - seo
12
+ - analytics
13
+ - google-search-console
14
+ - serpbear
15
+ - nas
16
+ - telegram
17
+ - monitoring
18
+ ---
19
+ <!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
20
+
21
+ > 🤖 *Auto-generated by **weekly-pattern-learner** · reusable first-run website analytics onboarding workflow derived from a validated local/NAS setup pattern*
22
+
23
+ # website-analytics-bootstrap
24
+
25
+ Build a repeatable, observable SEO analytics loop for a website without making unapproved content or code changes.
26
+
27
+ ## Outcome
28
+
29
+ At completion, the operator has:
30
+
31
+ - persistent rank tracking for the target domain and a small, evidence-based keyword seed set;
32
+ - Google Search Console connected to the correct property and verified with a real API query;
33
+ - daily rank/Search Console refreshes;
34
+ - a read-only technical audit for key pages, `robots.txt`, and `sitemap.xml`;
35
+ - Telegram alerts for failures and a weekly health summary;
36
+ - saved reports, raw HTTP responses, logs, schedules, credentials locations, and a concise handoff.
37
+
38
+ This skill automates observation and reporting. Website edits, SEO copy changes, indexing submissions, and deployments remain approval-gated.
39
+
40
+ ## First-run questions
41
+
42
+ Ask at most three questions only when the answer cannot be discovered safely:
43
+
44
+ 1. What is the canonical website URL and which host/NAS should run the service?
45
+ 2. Which Google Search Console property should be used: Domain or URL-prefix?
46
+ 3. Should alerts use an existing Telegram bot/chat, or should the owner create one?
47
+
48
+ Never ask the user to paste private keys, bot tokens, passwords, or app passwords into chat. Accept them through the target UI, a secure secret store, or a protected host file.
49
+
50
+ ## Workflow
51
+
52
+ ### 1. Inspect before changing anything
53
+
54
+ - Read project-local agent instructions and inspect `.claude/scripts/` before making HTTP tooling.
55
+ - Check the current repository, remote, dirty worktree, deployment files, and existing analytics/monitoring integrations.
56
+ - Resolve the host using read-only checks. Prefer the reachable VPN/Tailscale address when the LAN address is unavailable.
57
+ - Check Docker/Container Manager, Node, Python/uv, systemd, and the host's supported scheduler.
58
+ - Preserve unrelated worktree changes. Do not reset, delete, or overwrite broad directories.
59
+ - Check whether an existing skill already covers post-connection GSC indexing analysis; use `search-console-indexing-audit` for that later phase instead of duplicating it.
60
+
61
+ ### 2. Choose the deployment path
62
+
63
+ Prefer a persistent container when Docker is healthy. If Docker is unavailable or broken, use the supported native runtime as a deliberate fallback:
64
+
65
+ - pin the application version used for the setup;
66
+ - store application source separately from persistent data;
67
+ - set a non-default port and an explicit application URL;
68
+ - run under a least-privilege service user;
69
+ - keep secrets in a protected environment file, never in source, shell history, logs, or reports;
70
+ - build and run the production application before configuring automation.
71
+
72
+ Before applying any persistent setup, credential or permission changes, enabling the scheduler, or performing Telegram delivery or test actions, require explicit owner confirmation for that specific action. If confirmation is absent, default to a no-op and do not perform the action. Record the confirmation outcome alongside the actual path, runtime, port, service user, and rollback/restart command.
73
+
74
+ ### 3. Configure SerpBear
75
+
76
+ - Create or verify the admin account without printing the password.
77
+ - Configure a supported scraper/proxy such as SerpApi through the UI or protected settings.
78
+ - Set daily scraping with a conservative strategy and retry behavior appropriate to API quotas.
79
+ - Add the canonical domain exactly once.
80
+ - Seed 8–12 phrases from visible services, locations, and positioning. Start with a mix of branded, service, and location queries; do not invent volume or ranking claims.
81
+ - Verify at least one real rank result and record the initial baseline.
82
+
83
+ Keyword seed examples should be generated from the target site's actual language, for example `{service} photographer`, `{service} {city}`, and the brand name. Expand the list only after Search Console supplies real queries or the owner confirms the market.
84
+
85
+ ### 4. Connect Google Search Console
86
+
87
+ Use a Google Cloud service account created for this integration:
88
+
89
+ 1. Create a JSON key in the service account's **Keys** tab. Keyless authentication is preferred when supported; otherwise document owner-approved rotation schedule, replacement procedure in SerpBear, and immediate disable/delete revocation steps for compromised or retired JSON keys.
90
+ 2. Enable the Google Search Console API in that same Cloud project.
91
+ 3. Add the service account's `client_email` as a **Restricted** user (with read-only access) on the exact Search Console property, retaining the existing `webmasters.readonly` scope and query-validation steps.
92
+ 4. Enter `client_email` and the JSON `private_key` into SerpBear through its protected settings UI.
93
+ 5. Match the property type precisely:
94
+ - Domain property → `sc-domain:example.com`.
95
+ - URL-prefix property → configure the exact URL, including protocol and trailing slash when required.
96
+ 6. Trigger a real query and inspect the response. A saved credential flag is not proof of connectivity.
97
+
98
+ Diagnose in this order:
99
+
100
+ - `403 accessNotConfigured` → enable the Search Console API;
101
+ - `403 Forbidden` → verify the property type and service-account user on that exact property;
102
+ - key/decoder errors → verify the full PEM value and newline handling;
103
+ - empty rows with a successful request → report “connected, no data yet,” not a failure.
104
+
105
+ ### 5. Add the read-only technical audit
106
+
107
+ Use a reusable project-local script or the target runtime's equivalent for repeated HTTP checks. Save every raw response and reproduction metadata before analysis. At minimum check:
108
+
109
+ - `/`, `/work` or the primary portfolio route;
110
+ - the main service/booking route;
111
+ - `/about` and `/contact`;
112
+ - `/robots.txt`;
113
+ - `/sitemap.xml`.
114
+
115
+ For HTML pages, inspect status, title, meta description, canonical, and accidental `noindex`. For robots and sitemap, inspect status, content type, parseability, and sitemap URL count. Do not infer indexation from a 200 response; use Search Console for index status.
116
+
117
+ Before saving artifacts, sanitize HTTP response headers and body fields by removing session-bearing Set-Cookie values and personal data. Restrict artifact file permissions to owner-read-write only and enforce bounded retention with automatic deletion of artifacts older than the documented retention period. Write a JSON report with timestamp, checked URLs, status, latency, issue list, sitemap count, and artifact paths using only sanitized data. Logs must be structured and must not contain credentials or full secret-bearing request data.
118
+
119
+ ### 6. Schedule and alert
120
+
121
+ Prefer a persistent systemd service/timer. If the host cannot install a system unit, use the host's supported scheduler or stop and ask for an operator-approved scheduler change; do not silently assume a user crontab exists.
122
+
123
+ Recommended behavior:
124
+
125
+ - daily audit;
126
+ - immediate Telegram notification only when an actionable issue appears;
127
+ - one weekly healthy/degraded summary;
128
+ - forced test notification during setup;
129
+ - bounded report/artifact retention so daily raw responses cannot fill the NAS.
130
+
131
+ Reuse an existing Telegram bot only when it is explicitly in the same owner scope. Keep bot token and chat ID in a protected environment file and redact them from all output.
132
+
133
+ ### 7. Verify every gate
134
+
135
+ Before claiming completion, verify all of the following:
136
+
137
+ - the web service responds with HTTP 200 on its configured port;
138
+ - the target domain and initial keywords are visible in SerpBear;
139
+ - at least one rank query succeeds;
140
+ - Search Console API query succeeds or returns a clearly documented no-data result;
141
+ - the audit runs successfully and writes a report plus raw artifacts;
142
+ - the scheduler is enabled and its next run is visible;
143
+ - a forced Telegram test succeeds;
144
+ - a simulated or observed failure produces a bounded, actionable notification;
145
+ - logs contain no passwords, private keys, bot tokens, or raw credential payloads;
146
+ - the final report identifies what is automatic, what remains approval-gated, and where to find logs/reports.
147
+
148
+ ## Failure boundaries
149
+
150
+ Stop and ask for direction when:
151
+
152
+ - the target host or property cannot be identified without guessing;
153
+ - credentials are missing and cannot be entered through a secure UI or host file;
154
+ - the desired alert destination is ambiguous;
155
+ - enabling a scheduler requires a destructive or broad privilege change;
156
+ - the requested automation would edit or publish site content without approval.
157
+
158
+ Do not claim “connected” because settings were saved. Do not claim “indexed” because a page returned 200. Do not claim SEO improvement before a baseline and a later comparison exist.
159
+
160
+ ## Handoff format
161
+
162
+ Return a compact handoff containing:
163
+
164
+ - target domain and deployment URL/port;
165
+ - SerpBear version and scraper mode;
166
+ - keyword count and initial baseline;
167
+ - Search Console property type and verification result;
168
+ - audit scope and latest issue count;
169
+ - Telegram schedule and test result;
170
+ - report/log/artifact locations;
171
+ - any manual action still required;
172
+ - explicit statement that no site content or code was changed unless approved.
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "olko:website-analytics-bootstrap",
3
+ "version": "0.1.0",
4
+ "description": "Set up a website's first SEO analytics loop with persistent SerpBear rank tracking, Google Search Console, seeded keywords, read-only technical audits, and Telegram alerts on a local host or NAS.",
5
+ "skills": "skills/"
6
+ }