feat: provision village-pulse skill for all Edge agents#83
Open
mangosense wants to merge 1 commit into
Open
Conversation
- Add "village-pulse" to EDGE_SKILL_NAMES in paths.ts so files are copied to $HERMES_HOME/skills/village-pulse/ on install - Add install/install_village_pulse.ts (mirrors install_edgeos.ts) to wire VILLAGE_API_BASE_URL, VILLAGE_HUMAN_ID, X_VILLAGE_KEY into .env via --village-api-base-url / --village-human-id / --village-key flags - Call installVillagePulse() in main() after installGeo() - Add village-pulse to workspace/AGENTS.md active skills list with trigger conditions (first-run, daily pulse cron, post-event, "ask the village") - Add skills/village-pulse/ bundle (SKILL.md, heartbeat.md, exemplars.md, README.md) from the one+1 village-pulse skill library - Bump .claude-plugin/plugin.json and openclaw.plugin.json to 1.6.0; add villageApiBaseUrl, villageHumanId, villageKey to Claude Code plugin userConfig - Extend hooks/export-edgeos-env.sh to export VILLAGE_API_BASE_URL, VILLAGE_HUMAN_ID, X_VILLAGE_KEY at session start (same pattern as existing EdgeOS vars) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
Provisions the
village-pulseskill (one+1 collective-intelligence + per-human preference layer) as a default skill for all Edge Esmeralda agents — alongsideindex-network,edgeos,edge-esmeralda, andgeo-esmeralda.Changes
Install / provisioning
install/paths.ts— adds"village-pulse"toEDGE_SKILL_NAMESso files are copied to$HERMES_HOME/skills/village-pulse/on installinstall/install_village_pulse.ts(new) — mirrorsinstall_edgeos.ts; wiresVILLAGE_API_BASE_URL,VILLAGE_HUMAN_ID,X_VILLAGE_KEYinto.envvia--village-api-base-url/--village-human-id/--village-keyflagsinstall/install.ts— imports + callsinstallVillagePulse()afterinstallGeo()Skill bundle
skills/village-pulse/(new) — SKILL.md, heartbeat.md, exemplars.md, README.md from the village-pulse skill libraryAgent context
workspace/AGENTS.md— adds village-pulse to the active skills list with trigger conditions (first-run after consent, daily pulse cron, post-event check-in, "ask the village")Claude Code plugin (1.5.1 → 1.6.0)
skills/.claude-plugin/plugin.json— addsvillageApiBaseUrl,villageHumanId,villageKeytouserConfig; pre-fillvillageHumanIdwith the resident's identifier at provision time (same pattern asedgeosToken)skills/hooks/export-edgeos-env.sh— exportsVILLAGE_API_BASE_URL,VILLAGE_HUMAN_ID,X_VILLAGE_KEYat session startskills/openclaw.plugin.json— bumped to1.6.0Install usage
What the dashboard still owns
For zero-touch rollout to existing agents (residents don't run install manually):
villageHumanIdin the Claude Code plugin userConfig at agent-provision time (same asedgeosToken/indexApiKey)Dependency
The Village API endpoint (
VILLAGE_API_BASE_URL) must be a stable, public HTTPS URL — confirm the production-grade URL before broad rollout. The staging URL ishttps://aebfymivz2.us-east-1.awsapprunner.com.🤖 Generated with Claude Code