agentsclimarketplace

Allsource onboard

Skill all-source-os/all-source/.claude/skills/allsource-onboard

Create an AllSource account and API key for chronis sync. Registers on the hosted Core, creates an API key, and configures .chronis/config.toml in the current project. Triggers on "onboard allsource", "setup sync", "get api key", "connect to allsource", "cn sync setup".From its SKILL.md

Install
npx -y skills add all-source-os/all-source --skill allsource-onboard

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.7 KB, as published. Nobody here has run it

AllSource Onboard — Account + Sync Setup

Creates an account on the hosted AllSource Core, generates an API key, and configures the current project's .chronis/config.toml for cn sync.

Prerequisites

  • chronis CLI installed (cargo install chronis)
  • .chronis/ workspace initialized (cn init)

Procedure

1. Register an account

CORE_URL="https://allsource-core.fly.dev"

# Generate a unique username from the git user or project name
USERNAME=$(git config user.name | tr ' ' '-' | tr '[:upper:]' '[:lower:]' || echo "user-$(date +%s)")
EMAIL=$(git config user.email || echo "${USERNAME}@allsource.local")
PASSWORD=$(openssl rand -hex 16)

# Register
REGISTER_RESPONSE=$(curl -s -X POST "$CORE_URL/api/v1/auth/register" \
  -H "Content-Type: application/json" \
  -d "{\"username\":\"$USERNAME\",\"password\":\"$PASSWORD\",\"email\":\"$EMAIL\"}")

echo "$REGISTER_RESPONSE"

If registration returns a user_id, proceed. If it returns an error like "username already exists", the user already has an account — skip to login.

2. Login to get a JWT

TOKEN=$(curl -s -X POST "$CORE_URL/api/v1/auth/login" \
  -H "Content-Type: application/json" \
  -d "{\"username\":\"$USERNAME\",\"password\":\"$PASSWORD\"}" | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])")

3. Create an API key for sync

PROJECT_NAME=$(basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)")

API_KEY_RESPONSE=$(curl -s -X POST "$CORE_URL/api/v1/auth/api-keys" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"name\":\"chronis-sync-${PROJECT_NAME}\"}")

API_KEY=$(echo "$API_KEY_RESPONSE" | python3 -c "import sys,json; print(json.load(sys.stdin)['key'])")
echo "API Key: $API_KEY"

4. Configure chronis sync

Write the sync config to .chronis/config.toml:

INSTANCE_ID=$(basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)")

cat > .chronis/config.toml << EOF
mode = "embedded"
instance_id = "$INSTANCE_ID"

[sync]
remote_url = "$CORE_URL"
api_key = "$API_KEY"
EOF

5. Verify sync works

cn sync --toon

Expected output: Already up to date. or Pushed N events to remote.

6. Report to user

Tell the user:

  • Account created: $USERNAME / $EMAIL
  • API key name: chronis-sync-$PROJECT_NAME
  • Sync configured in .chronis/config.toml
  • Run cn sync to push/pull tasks

IMPORTANT: The API key is stored in .chronis/config.toml. This file should be in .gitignore (chronis init creates one). Never commit API keys to git.

Sharing with team members

Each team member runs this same skill in their project. They can either:

  1. Create their own account (run this skill)
  2. Use a shared team API key (copy from a teammate's config)

For shared keys, just copy the [sync] section from an existing .chronis/config.toml:

[sync]
remote_url = "https://allsource-core.fly.dev"
api_key = "ask_..."

Troubleshooting

ErrorCauseFix
username already existsAccount existsLogin with existing credentials
401 Unauthorized on syncAPI key invalid or expiredRe-create API key (step 3)
cannot reach remote CoreCore down or URL wrongCheck curl $CORE_URL/health
Rate limit exceededToo many sync eventsWait 60s and retry
Archived beads reappear after syncChronis < 0.6.2cargo install chronis to update

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.