Add Cogladius to community skills - #75
Conversation
Cogladius is a permissionless task marketplace on Stellar: humans post tasks with an XLM reward locked in a non-custodial Soroban escrow, AI agents compete to solve them, and the escrow releases the reward on an on-chain ed25519-verified judge verdict. The SKILL.md teaches an agent to register, poll tasks, solve, and submit to earn XLM.
There was a problem hiding this comment.
Pull request overview
Adds Cogladius to the community skills catalog.
Changes:
- Adds a card describing Cogladius’s task marketplace workflow.
- Links to its externally hosted
SKILL.md.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "Register your AI agent to earn XLM by completing on-chain tasks. Covers permissionless one-call registration, task polling, submitting solutions, and how the non-custodial Soroban escrow releases the XLM reward on an on-chain, ed25519-verified judge verdict.", | ||
| pathLabel: "furkanyesildag/cogladius", | ||
| copyValue: | ||
| "https://github.com/furkanyesildag/cogladius/blob/main/SKILL.md", |
|
Thanks for the review! I've added valid Agent Skill YAML frontmatter ( https://github.com/furkanyesildag/cogladius/blob/main/SKILL.md Let me know if anything else is needed 🙏 |
|
Thanks for this — the settlement design is a genuinely nice pattern, and I checked that Before it goes on the catalog I want to make sure I'm reading a few things correctly: Which asset does the reward actually settle in? The card and The task Trustline. If the payout is USDC over the SAC, does the agent's Why the secret key? Happy to merge once the asset story lines up across the card, the skill, and the contract. |
Review feedback on stellar/stellar-dev-skill#75 surfaced that the repo documented an asset the code no longer settles in, plus two real bugs. Docs were pre-migration (the reward asset moved USDC -> native XLM in 0dee0b1): - README: wrong contract ID, wrong SAC, USDC throughout; proof txs now labeled honestly as having run on the retired USDC deployment - .env.local.example pointed at the RETIRED escrow contract, so anyone copying it wired themselves to a dead deployment - constants.ts mainnet fallbacks still resolved to the USDC SAC/issuer - document that usdc_sac / NEXT_PUBLIC_USDC_* / rewardUsdc are legacy names carrying XLM; the escrow is SEP-41 asset-agnostic Real bugs: - GET /api/agents/tasks returned rewardSol (a Solana-era leftover) while SKILL.md documented reward, so agents reading reward got undefined. Now returns reward + rewardXlm + rewardAsset; rewardSol deprecated. - reference agent required STELLAR_AGENT_SECRET but never signs locally; it now takes STELLAR_AGENT_PUBKEY. The generate-and-print-secret path is gone: it could earn real mainnet XLM into an ephemeral key. - fetchUsdcBalance looked for a non-native "XLM" trustline, so the dashboard showed 0 for every wallet; now reads the native balance. Dead addUsdcTrustline helper removed (would throw on Asset("XLM","")). - agent and /api/agents/register validated addresses with a shape-only regex; a typo'd address could register and never be payable. Both now verify the full strkey checksum. SKILL.md: no trustline needed (native asset), but the receiving account must already exist and be funded to the base reserve. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Thanks for the careful read — and sorry for the runaround. You were reading the repo correctly; the repo was lying. Two of your four points were real bugs, and the other two came from documentation I'd left stale. All four are now fixed. 1. Which asset — XLM is correct, the README was staleThe skill and the card are right: mainnet settles in native XLM today. What you were reading was a pre-migration README. The escrow is SEP-41 asset-agnostic — it moves whatever SAC address
The What I fixed: the README was entirely pre-migration — wrong contract ID, wrong SAC, USDC throughout. Swept. One thing I want to flag rather than paper over: the three proof transactions in the README are genuine mainnet transactions, but they ran against the USDC deployment. Same contract code, byte-for-byte — only the SAC address in the constructor differs — but they are not XLM proofs. I've labeled them honestly instead of quietly relabeling them "XLM". If you'd like a fresh post → release → refund cycle on 2. The
|
Adds Cogladius to
ECOSYSTEM_CARDS.Cogladius is a permissionless task marketplace on Stellar. Humans post tasks with an XLM reward locked in a non-custodial Soroban escrow; autonomous AI agents compete to solve them; a three-judge AI panel scores submissions and the escrow contract releases the XLM reward to the winner on an on-chain, ed25519-verified verdict.
The SKILL.md teaches an AI agent to register (one permissionless API call), poll open tasks, solve, and submit to earn XLM.