Alsacreations Guidelines
alsacreations/kiwipedia
Guidelines techniques et conventions internes d'Alsacréations (Kiwipedia) — HTML, CSS, JavaScript, TypeScript, Vue.js, WordPress, PHP/MySQL, accessibilité, performance, SEO, RGPD, écoconception…
ClusteringService, tile keys, dirty tiles/teams, clustering commands, ClusterController GeoJSON API, PhotoObserver dirty marking, and map cluster rendering.
$ npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install OpenLitterMap/openlittermap-web clustering-system --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/OpenLitterMap/openlittermap-web.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.ai/skills/clustering-system .claude/skills/clustering-system && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "clustering-system" agent skill from https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-system into .claude/skills/clustering-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clustering-system", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-systemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install OpenLitterMap/openlittermap-web clustering-system --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenLitterMap/openlittermap-web.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.ai/skills/clustering-system .agents/skills/clustering-system && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "clustering-system" agent skill from https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-system into .agents/skills/clustering-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clustering-system", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install OpenLitterMap/openlittermap-web clustering-system --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenLitterMap/openlittermap-web.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.ai/skills/clustering-system .cursor/skills/clustering-system && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "clustering-system" agent skill from https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-system into .cursor/skills/clustering-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clustering-system", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/OpenLitterMap/openlittermap-web.git --path .ai/skills/clustering-system--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install OpenLitterMap/openlittermap-web clustering-system --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenLitterMap/openlittermap-web.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.ai/skills/clustering-system .gemini/skills/clustering-system && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "clustering-system" agent skill from https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-system into .gemini/skills/clustering-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clustering-system", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install OpenLitterMap/openlittermap-web clustering-systemInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/OpenLitterMap/openlittermap-web.git skills-src && mkdir -p .github/skills && cp -r skills-src/.ai/skills/clustering-system .github/skills/clustering-system && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "clustering-system" agent skill from https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-system into .github/skills/clustering-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clustering-system", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install OpenLitterMap/openlittermap-web clustering-system --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenLitterMap/openlittermap-web.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.ai/skills/clustering-system .opencode/skills/clustering-system && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "clustering-system" agent skill from https://github.com/OpenLitterMap/openlittermap-web/tree/master/.ai/skills/clustering-system into .opencode/skills/clustering-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clustering-system", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
clustering-systemClusteringService, tile keys, dirty tiles/teams, clustering commands, ClusterController GeoJSON API, PhotoObserver dirty marking, and map cluster rendering.
Clustering System is an agent skill from OpenLitterMap/openlittermap-web. ClusteringService, tile keys, dirty tiles/teams, clustering commands, ClusterController GeoJSON API, PhotoObserver dirty marking, and map cluster rendering.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases. It works with PHP. The repository describes itself as: https://opengeospatialdata.springeropen.com/articles/10.1186/s40965-018-0050-y. The licence is GPL-3.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ac688aa. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are sql and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Clustering System loads about 2k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 638 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from OpenLitterMap/openlittermap-web at commit ac688aa, republished under its GPL-3.0 licence (© OpenLitterMap). 638 words, ~1,976 tokens.
.claude/skills/clustering-system/SKILL.md (or your agent's skills folder).Hierarchical grid-based clustering for map visualization. Photos are grouped into clusters at 9 zoom levels (0, 2, 4, 6, 8, 10, 12, 14, 16) using a two-tier strategy:
verified >= 2)Team clustering is unified into the same clusters table via team_id column (0 = global, N = team-specific).
config/clustering.php — Grid sizes, zoom levels, tile size, TTL, limitsapp/Services/Clustering/ClusteringService.php — Core clustering logic (raw SQL, not Eloquent)app/Http/Controllers/Clusters/ClusterController.php — Public API endpoint (GeoJSON + ETag)app/Http/Controllers/Teams/TeamsClusterController.php — Team cluster API (GeoJSON + bbox). points() selects summary (not result_string).app/Observers/PhotoObserver.php — Dirty tile/team marking + school privacyapp/Console/Commands/Clusters/UpdateClusters.php — clustering:update (full rebuild)app/Console/Commands/Clusters/ProcessDirtyTiles.php — clustering:process-dirty (incremental)app/Console/Commands/Clusters/CheckMigrationStatus.php — clustering:check-migration (diagnostic)app/Models/Cluster.php — Eloquent model (composite PK, $timestamps = false)resources/js/stores/maps/clusters/index.js — Pinia store for cluster dataresources/js/stores/maps/points/requests.js — Points store: GET_POINTS() with page, year, date, username, signal paramsresources/js/views/Maps/helpers/clustersHelper.js — Frontend cluster rendering + interactionsresources/js/views/Maps/helpers/mapLifecycleHelper.js — Map init (always adds cluster layer), cleanup, health checksresources/js/views/Maps/helpers/pointsHelper.js — Points view, pagination, stats, abort signalstests/Feature/Map/Clusters/ClusteringTest.php — Core clustering teststests/Feature/Map/Clusters/ClusteringApiTest.php — API endpoint teststests/Feature/Map/Clusters/TeamClusteringTest.php — Team clustering tests# Full rebuild
clustering:update --populate # Backfill NULL tile_keys (50k chunks)
clustering:update --all # Recluster all global + tile zoom levels
clustering:update --team=5 # Cluster a specific team
clustering:update --all-teams # Cluster all teams with photos
clustering:update --stats # Show statistics + integrity check
clustering:update --explain # Show query execution plan (combine with --all)
# Interactive menu (no flags)
clustering:update # Shows choice() menu: all, populate, both, team, all-teams, stats
# Incremental (scheduled every 5 minutes)
clustering:process-dirty # Process dirty tiles + teams
clustering:process-dirty --limit=100 --team-limit=20
# Diagnostic
clustering:check-migration # Verify columns, indexes, PK, data integrityScheduler (Kernel.php): clustering:process-dirty runs every 5 minutes. clustering:update --all --all-teams runs nightly at 00:10.
verified >= 2. ADMIN_APPROVED and above. Team clustering uses verified >= 1 (tagged, so school students see their uploads on the team map before teacher approval).>= ADMIN_APPROVED. Team dirty: >= VERIFIED.DB::statement() with INSERT...SELECT. The Cluster model exists but is not used by the pipeline.team_id = 0 for global, team_id = N for team-specific. All global queries MUST filter WHERE team_id = 0.tile_key must be populated before per-tile clustering works. Always run --populate before --all.4294967295 (UINT max). Global zoom clusters use this value. Per-tile clusters use the actual tile key.Photo saved/deleted
→ PhotoObserver marks tile dirty (if verified >= ADMIN_APPROVED)
→ PhotoObserver marks team dirty (if verified >= VERIFIED and has team_id)
→ clustering:process-dirty (scheduler, every 5 min)
→ ClusteringService::clusterTile() — one tile across zooms 8-16
→ ClusteringService::clusterTeam() — one team across zooms 0-16
Nightly full rebuild:
→ clustering:update --all --all-teamsFormula with 0.25° tile size (1440 x 720 grid):
latIndex = FLOOR((lat + 90) / 0.25)
lonIndex = FLOOR((lon + 180) / 0.25)
tileKey = latIndex * 1440 + lonIndexPRIMARY KEY (team_id, tile_key, zoom, year, cell_x, cell_y)
team_id UNSIGNED INT -- 0 = global, N = team-specific
tile_key UNSIGNED INT -- 4294967295 = global sentinel
zoom INT -- 0-16
year SMALLINT UNSIGNED -- 0 = all-time
cell_x, cell_y INT -- Grid cell coordinates
lat, lon DOUBLE -- Centroid
point_count BIGINT UNSIGNED -- Photos in cluster
grid_size DECIMAL(6,3)dirty_tiles: tile_key (PK), changed_at, attemptsUses upsert with backoff: after 3 attempts, changed_at advances by 5 minutes. Auto-cleaned after 24 hours.
Note: dirty_teams table was dropped (2026-03-14). Team clustering is now on-demand only via clustering:update --team=ID or --all-teams.
is_public changes trigger dirty tile marking. PhotoObserver fires dirty tile logic when a photo's is_public changes (e.g. via PATCH /api/v3/photos/{id}/visibility). When a private-by-choice photo is made public (and is verified), its tile is marked dirty so the cluster updates. When a photo is made private, the tile is similarly marked dirty to remove it from future cluster renders.
GET /api/clusters — Public. Params: zoom, bbox[], lat, lon. Returns GeoJSON FeatureCollection with ETag caching (304 support). Limit 5,000 clusters.GET /api/clusters/zoom-levels — Available zoom configurations.GET /api/teams/clusters/{team} — Auth required. Same bbox filtering and GeoJSON format.verified = 2 instead of verified >= 2. Photos at BBOX_APPLIED (3), BBOX_VERIFIED (4), AI_READY (5) must be included.team_id = 0 in global queries. Without this, team clusters leak into public map data.--all without --populate first. Photos without tile_key are excluded from per-tile clustering.clusters:generate-all and clusters:generate-team-clusters are deleted. Use clustering:update and clustering:process-dirty.clustering:update --all and --all-teams auto-flush clusters:v5:* cache keys. Cache prefix has NO colon separator: openlittermap_cacheclusters:v5:*.mapLifecycleHelper.js ALWAYS adds the clusters GeoJSON layer to the map instance, even when initial fetch returns 0 features. Without this, subsequent cluster loads after panning/zooming don't render.GET_POINTS(). The store method must destructure and pass page, year, fromDate, toDate, username, signal to the backend. The API returns pagination as page (not current_page) at root level — pointsHelper.getPaginationData() normalizes this.© OpenLitterMap, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .ai/skills/clustering-system of OpenLitterMap/openlittermap-web.
Open the folder on GitHubat commit ac688aa
Clustering System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Clustering System this skillOpenLitterMap/openlittermap-web | 134 | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Alsacreations Guidelinesalsacreations/kiwipedia | 338 | — | ~900 | Automated safety check: Pass | None | |
| Deploy To Hostinghostinger/api-mcp-server | 159 | — | ~2.7k | Automated safety check: Notes | MIT | |
| WooCommerce PHP Performance Patternswoocommerce/woocommerce | 11k | — | ~395 | Automated safety check: Pass | Custom licence | |
| Migrate To Hostinghostinger/api-mcp-server | 159 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Php SQL Audit0xShe/PHP-Code-Audit-Skill | 402 | 1 repos | ~668 | Automated safety check: Pass | None |
alsacreations/kiwipedia
Guidelines techniques et conventions internes d'Alsacréations (Kiwipedia) — HTML, CSS, JavaScript, TypeScript, Vue.js, WordPress, PHP/MySQL, accessibilité, performance, SEO, RGPD, écoconception…
hostinger/api-mcp-server
Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express…
woocommerce/woocommerce
Flags and fixes performance issues in WooCommerce PHP code: missing post cache priming, uncached option lookups in loops, and inefficient SQL query patterns.
hostinger/api-mcp-server
Move an existing website from another host to Hostinger web hosting (Shared, Cloud or Agency plans) without downtime: WordPress sites from a files archive and SQL dump, static and PHP sites from an…
0xShe/PHP-Code-Audit-Skill
PHP Web 源码 SQL 注入漏洞审计工具。从源码中识别所有 SQL 执行点并分析注入风险,输出可利用性分级、PoC 与修复建议(禁止省略)。
uphiago/recon-skills
Mine errorlog for creds, paths, SQL when leak hunt finds. An agent skill from uphiago/recon-skills.
OpenLitterMap/openlittermap-web
Styles applications using Tailwind CSS v3 utilities. An agent skill from OpenLitterMap/openlittermap-web.
OpenLitterMap/openlittermap-web
OpenLitterMap v5 architecture reference. An agent skill from OpenLitterMap/openlittermap-web.
OpenLitterMap/openlittermap-web
AchievementEngine, AchievementRepository, milestone checkers, AchievementsSeeder, userachievements pivot, AchievementsController API, and achievement evaluation flow.
OpenLitterMap/openlittermap-web
AdminController, photo approval, tag editing, deletion, MetricsService integration, admin middleware, verification queue, and admin XP.
OpenLitterMap/openlittermap-web
REST API endpoints, route structure, auth guards, request/response contracts, error patterns, and the full API surface for web SPA and mobile clients.
OpenLitterMap/openlittermap-web
LeaderboardController, Redis sorted sets for all-time XP rankings, per-user metrics rows for time-filtered rankings, rewardXpToAdmin, and leaderboard privacy.
Works with
Categories
ClusteringService, tile keys, dirty tiles/teams, clustering commands, ClusterController GeoJSON API, PhotoObserver dirty marking, and map cluster rendering. Clustering System is an agent skill from OpenLitterMap/openlittermap-web. ClusteringService, tile keys, dirty tiles/teams, clustering commands, ClusterController GeoJSON API, PhotoObserver dirty marking, and map cluster rendering.
Clustering System fits situations like: databases work in your project.
Run `npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a claude-code`. Or copy the skill folder (.ai/skills/clustering-system in OpenLitterMap/openlittermap-web) into .claude/skills/clustering-system in your project. Claude Code loads it when a task matches its description.
Run `npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a codex`. Or copy the skill folder (.ai/skills/clustering-system in OpenLitterMap/openlittermap-web) into .agents/skills/clustering-system in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenLitterMap/openlittermap-web --skill clustering-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clustering-system, .gemini/skills/clustering-system, .github/skills/clustering-system and .opencode/skills/clustering-system in your project.
SKILL.md names no scripts, command-line tools or credentials: Clustering System is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Clustering System is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Clustering System: Alsacreations Guidelines (alsacreations/kiwipedia, 338 stars), Deploy To Hosting (hostinger/api-mcp-server, 159 stars), WooCommerce PHP Performance Patterns (woocommerce/woocommerce, 11k stars) and Migrate To Hosting (hostinger/api-mcp-server, 159 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
OpenLitterMap (a GitHub organization) maintains it in OpenLitterMap/openlittermap-web, which has 134 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 14, 2026.
Source: OpenLitterMap/openlittermap-web on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.