[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FXJ1JRTX63675B5M0B5FWJ":3,"skill-same:01M6FXJ1JRTX63675B5M0B5FWJ":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M6FXJ1JRTX63675B5M0B5FWJ","jb-ruleset-timeline-ui",null,"Visual timeline explorer for Juicebox project ruleset history. Shows configuration evolution, upcoming changes, and enables ruleset comparison.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fmejango\u002Fjuicy\u002Fjb-ruleset-timeline-ui\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27],"ui","timeline","jb ruleset timeline ui","history","evolution","explorer","configuration","visual","project","comparison","2026-11-10 10:12:30",false,"---\nname: jb-ruleset-timeline-ui\ndescription: Visual timeline explorer for Juicebox project ruleset history. Shows configuration evolution, upcoming changes, and enables ruleset comparison.\n---\n\n# Juicebox V5 Ruleset Timeline UI\n\nVisual timeline explorer for Juicebox project ruleset history. Shows the evolution of project configurations over time.\n\n## Uses Shared Components\n\nThis skill uses components from `\u002Fshared\u002F`:\n\n| Component | Purpose |\n|-----------|---------|\n| `styles.css` | Dark theme, cards, buttons, badges |\n| `wallet-utils.js` | Chain config, formatting utilities |\n| `chain-config.json` | RPC URLs, contract addresses |\n| `abis\u002FJBController.json` | Ruleset query functions |\n\n## Overview\n\nThis skill generates vanilla JS\u002FHTML interfaces for visualizing:\n- Complete ruleset history for any project\n- Timeline of configuration changes\n- Upcoming queued rulesets\n- Ruleset approval status\n- Parameter comparisons between rulesets\n\n## Ruleset Timeline UI Template\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n  \u003Cmeta charset=\"UTF-8\">\n  \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  \u003Ctitle>Juicebox Ruleset Timeline\u003C\u002Ftitle>\n  \u003Clink rel=\"stylesheet\" href=\"\u002Fshared\u002Fstyles.css\">\n  \u003Cstyle>\n    \u002F* Timeline-specific styles *\u002F\n    .project-header { display: none; }\n    .project-header.visible { display: block; }\n    .project-name { font-size: 1.5rem; font-weight: 600; color: var(--text-secondary); }\n    .project-id { color: var(--text-muted); margin-top: 5px; }\n\n    .timeline-container { position: relative; padding-left: 40px; }\n    .timeline-line { position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--jb-yellow) 0%, var(--border-color) 100%); }\n\n    .ruleset-card { position: relative; border-left: 3px solid var(--border-color); margin-bottom: var(--space-md); }\n    .ruleset-card.current { border-left-color: var(--success); background: linear-gradient(90deg, var(--success-bg) 0%, var(--bg-secondary) 20%); }\n    .ruleset-card.upcoming { border-left-color: var(--jb-yellow); background: linear-gradient(90deg, rgba(255,204,0,0.1) 0%, var(--bg-secondary) 20%); }\n    .ruleset-card.past { opacity: 0.7; }\n\n    .timeline-dot { position: absolute; left: -33px; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--border-color); border: 3px solid var(--bg-secondary); }\n    .ruleset-card.current .timeline-dot { background: var(--success); }\n    .ruleset-card.upcoming .timeline-dot { background: var(--jb-yellow); }\n\n    .ruleset-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-md); }\n    .ruleset-title { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); }\n    .ruleset-status { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }\n    .ruleset-status.current { background: var(--success-bg); color: var(--success); }\n    .ruleset-status.upcoming { background: rgba(255,204,0,0.2); color: var(--jb-yellow); }\n    .ruleset-status.past { background: rgba(136,136,136,0.2); color: var(--text-muted); }\n    .ruleset-status.pending { background: var(--warning-bg); color: var(--warning); }\n\n    .ruleset-dates { display: flex; gap: 20px; margin-bottom: var(--space-md); font-size: 13px; color: var(--text-muted); }\n    .params-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-md); }\n    .param-item { background: var(--bg-tertiary); padding: 12px; border-radius: var(--radius-md); }\n    .param-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }\n    .param-value { font-size: 14px; font-weight: 600; color: var(--text-secondary); }\n    .param-value.changed { color: var(--jb-yellow); }\n\n    .expand-btn { background: none; border: 1px solid var(--border-color); color: var(--text-muted); padding: 8px 16px; border-radius: 6px; cursor: pointer; margin-top: var(--space-md); font-size: 13px; }\n    .expand-btn:hover { border-color: var(--jb-yellow); color: var(--jb-yellow); }\n    .expanded-details { display: none; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border-color); }\n    .expanded-details.visible { display: block; }\n\n    .legend { display: flex; gap: 20px; margin-bottom: var(--space-md); font-size: 13px; }\n    .legend-item { display: flex; align-items: center; gap: 8px; }\n    .legend-dot { width: 12px; height: 12px; border-radius: 50%; }\n    .legend-dot.current { background: var(--success); }\n    .legend-dot.upcoming { background: var(--jb-yellow); }\n    .legend-dot.past { background: #666; }\n\n    .compare-btn { background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-primary); padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; margin-left: 10px; }\n    .compare-btn:hover { border-color: var(--jb-yellow); }\n\n    .compare-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 1000; padding: 20px; overflow-y: auto; }\n    .compare-modal.visible { display: flex; justify-content: center; align-items: flex-start; }\n    .compare-content { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 20px; max-width: 900px; width: 100%; margin-top: 40px; }\n    .compare-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-md); }\n    .close-btn { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }\n    .compare-table { width: 100%; border-collapse: collapse; }\n    .compare-table th, .compare-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border-color); }\n    .compare-table th { color: var(--text-muted); font-weight: 500; }\n    .compare-table td.changed { color: var(--jb-yellow); }\n  \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Cdiv class=\"container\">\n    \u003Ch1>Ruleset Timeline\u003C\u002Fh1>\n\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"row\">\n        \u003Cinput type=\"number\" id=\"projectId\" placeholder=\"Project ID\" min=\"1\" style=\"flex: 1;\">\n        \u003Cselect id=\"chainSelect\" style=\"width: 150px;\">\n          \u003Coption value=\"1\">Ethereum\u003C\u002Foption>\n          \u003Coption value=\"10\">Optimism\u003C\u002Foption>\n          \u003Coption value=\"8453\">Base\u003C\u002Foption>\n          \u003Coption value=\"42161\">Arbitrum\u003C\u002Foption>\n          \u003Coption value=\"11155111\">Sepolia\u003C\u002Foption>\n        \u003C\u002Fselect>\n        \u003Cbutton onclick=\"loadTimeline()\">Load Timeline\u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\n    \u003Cdiv class=\"card project-header\" id=\"projectHeader\">\n      \u003Cdiv class=\"project-name\" id=\"projectName\">-\u003C\u002Fdiv>\n      \u003Cdiv class=\"project-id\" id=\"projectIdDisplay\">-\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\n    \u003Cdiv class=\"legend\" id=\"legend\" style=\"display: none;\">\n      \u003Cdiv class=\"legend-item\">\u003Cdiv class=\"legend-dot current\">\u003C\u002Fdiv>\u003Cspan>Current Ruleset\u003C\u002Fspan>\u003C\u002Fdiv>\n      \u003Cdiv class=\"legend-item\">\u003Cdiv class=\"legend-dot upcoming\">\u003C\u002Fdiv>\u003Cspan>Queued\u002FUpcoming\u003C\u002Fspan>\u003C\u002Fdiv>\n      \u003Cdiv class=\"legend-item\">\u003Cdiv class=\"legend-dot past\">\u003C\u002Fdiv>\u003Cspan>Past Rulesets\u003C\u002Fspan>\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\n    \u003Cdiv id=\"timelineContainer\">\u003Cdiv class=\"loading\">Enter a project ID to load timeline\u003C\u002Fdiv>\u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\n  \u003Cdiv class=\"compare-modal\" id=\"compareModal\">\n    \u003Cdiv class=\"compare-content\">\n      \u003Cdiv class=\"compare-header\">\n        \u003Ch2>Compare Rulesets\u003C\u002Fh2>\n        \u003Cbutton class=\"close-btn\" onclick=\"closeCompare()\">&times;\u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n      \u003Cdiv id=\"compareBody\">\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\n  \u003Cscript type=\"module\">\n    import { createPublicClient, http, getContract, zeroAddress } from 'https:\u002F\u002Fesm.sh\u002Fviem';\n    import { CHAIN_CONFIGS, loadChainConfig } from '\u002Fshared\u002Fwallet-utils.js';\n\n    const CONTROLLER_ABI = [\n      { name: 'currentRulesetOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }], outputs: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }] },\n      { name: 'upcomingRulesetOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }], outputs: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }] },\n      { name: 'latestQueuedRulesetOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }], outputs: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'approvalStatus', type: 'uint256' }] },\n      { name: 'allRulesetsOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }, { name: 'startingId', type: 'uint256' }, { name: 'size', type: 'uint256' }], outputs: [{ name: '', type: 'tuple[]', components: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }] }] }\n    ];\n\n    let allRulesets = [];\n    let currentRulesetId = null;\n\n    \u002F\u002F Expose functions globally\n    window.loadTimeline = loadTimeline;\n    window.toggleDetails = toggleDetails;\n    window.compareRulesets = compareRulesets;\n    window.closeCompare = closeCompare;\n\n    async function loadTimeline() {\n      const projectId = document.getElementById('projectId').value;\n      const chainId = parseInt(document.getElementById('chainSelect').value);\n\n      if (!projectId) { alert('Please enter a project ID'); return; }\n\n      const container = document.getElementById('timelineContainer');\n      container.innerHTML = '\u003Cdiv class=\"loading\">\u003Cdiv class=\"spinner\">\u003C\u002Fdiv>Loading ruleset history...\u003C\u002Fdiv>';\n\n      try {\n        const config = await loadChainConfig();\n        const chainConfig = config.chains[chainId];\n        const chain = CHAIN_CONFIGS[chainId];\n\n        const client = createPublicClient({ chain, transport: http(chainConfig.rpc) });\n        const controllerAddress = chainConfig.contracts.JBController;\n\n        const controller = getContract({ address: controllerAddress, abi: CONTROLLER_ABI, client });\n\n        \u002F\u002F Load project name\n        document.getElementById('projectName').textContent = `Project ${projectId}`;\n        document.getElementById('projectIdDisplay').textContent = `ID: ${projectId} on ${chainConfig.name}`;\n        document.getElementById('projectHeader').classList.add('visible');\n\n        \u002F\u002F Load current ruleset\n        const [currentRuleset, currentMetadata] = await controller.read.currentRulesetOf([BigInt(projectId)]);\n        currentRulesetId = currentRuleset.id.toString();\n\n        \u002F\u002F Load upcoming and queued rulesets\n        let upcomingRuleset = null, queuedRuleset = null;\n        try {\n          const [upcoming, upcomingMeta] = await controller.read.upcomingRulesetOf([BigInt(projectId)]);\n          if (upcoming.id.toString() !== currentRulesetId) {\n            upcomingRuleset = { ruleset: upcoming, metadata: upcomingMeta, status: 'upcoming' };\n          }\n        } catch (e) {}\n\n        try {\n          const [queued, queuedMeta, approvalStatus] = await controller.read.latestQueuedRulesetOf([BigInt(projectId)]);\n          const queuedId = queued.id.toString();\n          if (queuedId !== currentRulesetId && (!upcomingRuleset || queuedId !== upcomingRuleset.ruleset.id.toString())) {\n            queuedRuleset = { ruleset: queued, metadata: queuedMeta, approvalStatus, status: 'pending' };\n          }\n        } catch (e) {}\n\n        \u002F\u002F Load historical rulesets\n        const historicalRulesets = await controller.read.allRulesetsOf([BigInt(projectId), 0n, 50n]);\n\n        \u002F\u002F Combine and sort\n        allRulesets = [];\n        if (queuedRuleset) allRulesets.push(queuedRuleset);\n        if (upcomingRuleset) allRulesets.push(upcomingRuleset);\n        allRulesets.push({ ruleset: currentRuleset, metadata: currentMetadata, status: 'current' });\n\n        for (const rs of historicalRulesets) {\n          if (rs.ruleset.id.toString() !== currentRulesetId) {\n            if (!allRulesets.find(r => r.ruleset.id.toString() === rs.ruleset.id.toString())) {\n              allRulesets.push({ ...rs, status: 'past' });\n            }\n          }\n        }\n\n        allRulesets.sort((a, b) => Number(b.ruleset.start) - Number(a.ruleset.start));\n        renderTimeline();\n        document.getElementById('legend').style.display = 'flex';\n\n      } catch (error) {\n        console.error(error);\n        container.innerHTML = `\u003Cdiv class=\"empty\">Error loading rulesets: ${error.message}\u003C\u002Fdiv>`;\n      }\n    }\n\n    function renderTimeline() {\n      const container = document.getElementById('timelineContainer');\n      if (allRulesets.length === 0) {\n        container.innerHTML = '\u003Cdiv class=\"empty\">No rulesets found for this project\u003C\u002Fdiv>';\n        return;\n      }\n\n      let html = '\u003Cdiv class=\"timeline-container\">\u003Cdiv class=\"timeline-line\">\u003C\u002Fdiv>';\n\n      allRulesets.forEach((rs, index) => {\n        const { ruleset, metadata, status, approvalStatus } = rs;\n        const startDate = new Date(Number(ruleset.start) * 1000);\n        const endDate = ruleset.duration > 0n ? new Date((Number(ruleset.start) + Number(ruleset.duration)) * 1000) : null;\n        const statusLabel = status === 'pending' ? getApprovalStatusLabel(approvalStatus) : status;\n\n        html += `\n          \u003Cdiv class=\"card ruleset-card ${status}\">\n            \u003Cdiv class=\"timeline-dot\">\u003C\u002Fdiv>\n            \u003Cdiv class=\"ruleset-header\">\n              \u003Cdiv>\n                \u003Cdiv class=\"ruleset-title\">Ruleset #${ruleset.cycleNumber.toString()}\n                  ${index \u003C allRulesets.length - 1 ? `\u003Cbutton class=\"compare-btn\" onclick=\"compareRulesets(${index}, ${index + 1})\">Compare with previous\u003C\u002Fbutton>` : ''}\n                \u003C\u002Fdiv>\n              \u003C\u002Fdiv>\n              \u003Cspan class=\"ruleset-status ${status}\">${statusLabel}\u003C\u002Fspan>\n            \u003C\u002Fdiv>\n            \u003Cdiv class=\"ruleset-dates\">\n              \u003Cspan>Start: ${startDate.toLocaleString()}\u003C\u002Fspan>\n              ${endDate ? `\u003Cspan>End: ${endDate.toLocaleString()}\u003C\u002Fspan>` : '\u003Cspan>Duration: Indefinite\u003C\u002Fspan>'}\n              ${ruleset.duration > 0n ? `\u003Cspan>Cycle: ${formatDuration(Number(ruleset.duration))}\u003C\u002Fspan>` : ''}\n            \u003C\u002Fdiv>\n            \u003Cdiv class=\"params-grid\">\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Weight\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${formatWeight(ruleset.weight)}\u003C\u002Fdiv>\u003C\u002Fdiv>\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Weight Cut %\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${(Number(ruleset.weightCutPercent) \u002F 10000000).toFixed(2)}%\u003C\u002Fdiv>\u003C\u002Fdiv>\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Reserved Rate\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${(Number(metadata.reservedRate) \u002F 100).toFixed(2)}%\u003C\u002Fdiv>\u003C\u002Fdiv>\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Cash Out Tax\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${(Number(metadata.cashOutTaxRate) \u002F 100).toFixed(2)}%\u003C\u002Fdiv>\u003C\u002Fdiv>\n            \u003C\u002Fdiv>\n            \u003Cbutton class=\"expand-btn\" onclick=\"toggleDetails(${index})\">Show more details\u003C\u002Fbutton>\n            \u003Cdiv class=\"expanded-details\" id=\"details-${index}\">\n              \u003Cdiv class=\"params-grid\">\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Pause Pay\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.pausePay ? 'Yes' : 'No'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Pause Cash Out\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.pauseCashOut ? 'Yes' : 'No'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Owner Minting\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowOwnerMinting ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Terminal Migration\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowTerminalMigration ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Set Terminals\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowSetTerminals ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Set Controller\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowSetController ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Hold Fees\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.holdFees ? 'Yes' : 'No'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Data Hook (Pay)\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.useDataHookForPay ? 'Enabled' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Data Hook (Cash Out)\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.useDataHookForCashOut ? 'Enabled' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                ${metadata.dataHook !== zeroAddress ? `\u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Data Hook\u003C\u002Fdiv>\u003Cdiv class=\"param-value mono\" style=\"font-size: 11px;\">${metadata.dataHook}\u003C\u002Fdiv>\u003C\u002Fdiv>` : ''}\n                ${ruleset.approvalHook !== zeroAddress ? `\u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Approval Hook\u003C\u002Fdiv>\u003Cdiv class=\"param-value mono\" style=\"font-size: 11px;\">${ruleset.approvalHook}\u003C\u002Fdiv>\u003C\u002Fdiv>` : ''}\n              \u003C\u002Fdiv>\n            \u003C\u002Fdiv>\n          \u003C\u002Fdiv>`;\n      });\n\n      html += '\u003C\u002Fdiv>';\n      container.innerHTML = html;\n    }\n\n    function toggleDetails(index) {\n      const details = document.getElementById(`details-${index}`);\n      details.classList.toggle('visible');\n      const btn = details.previousElementSibling;\n      btn.textContent = details.classList.contains('visible') ? 'Hide details' : 'Show more details';\n    }\n\n    function compareRulesets(index1, index2) {\n      const rs1 = allRulesets[index1], rs2 = allRulesets[index2];\n      const fields = [\n        { key: 'weight', label: 'Weight', format: formatWeight },\n        { key: 'weightCutPercent', label: 'Weight Cut %', format: v => (Number(v) \u002F 10000000).toFixed(2) + '%' },\n        { key: 'duration', label: 'Duration', format: v => Number(v) === 0 ? 'Indefinite' : formatDuration(Number(v)) },\n        { key: 'reservedRate', label: 'Reserved Rate', format: v => (Number(v) \u002F 100).toFixed(2) + '%', metadata: true },\n        { key: 'cashOutTaxRate', label: 'Cash Out Tax', format: v => (Number(v) \u002F 100).toFixed(2) + '%', metadata: true },\n        { key: 'pausePay', label: 'Pause Pay', format: v => v ? 'Yes' : 'No', metadata: true },\n        { key: 'pauseCashOut', label: 'Pause Cash Out', format: v => v ? 'Yes' : 'No', metadata: true },\n        { key: 'allowOwnerMinting', label: 'Owner Minting', format: v => v ? 'Allowed' : 'Disabled', metadata: true },\n      ];\n\n      let html = `\u003Ctable class=\"compare-table\">\u003Cthead>\u003Ctr>\u003Cth>Parameter\u003C\u002Fth>\u003Cth>Ruleset #${rs1.ruleset.cycleNumber.toString()}\u003C\u002Fth>\u003Cth>Ruleset #${rs2.ruleset.cycleNumber.toString()}\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>`;\n\n      fields.forEach(field => {\n        const val1 = field.metadata ? rs1.metadata[field.key] : rs1.ruleset[field.key];\n        const val2 = field.metadata ? rs2.metadata[field.key] : rs2.ruleset[field.key];\n        const f1 = field.format(val1), f2 = field.format(val2);\n        html += `\u003Ctr>\u003Ctd>${field.label}\u003C\u002Ftd>\u003Ctd class=\"${f1 !== f2 ? 'changed' : ''}\">${f1}\u003C\u002Ftd>\u003Ctd>${f2}\u003C\u002Ftd>\u003C\u002Ftr>`;\n      });\n\n      html += '\u003C\u002Ftbody>\u003C\u002Ftable>';\n      document.getElementById('compareBody').innerHTML = html;\n      document.getElementById('compareModal').classList.add('visible');\n    }\n\n    function closeCompare() { document.getElementById('compareModal').classList.remove('visible'); }\n\n    function formatWeight(weight) {\n      const tokens = Number(weight) \u002F 1e18;\n      if (tokens >= 1000000) return (tokens \u002F 1000000).toFixed(2) + 'M';\n      if (tokens >= 1000) return (tokens \u002F 1000).toFixed(2) + 'K';\n      return tokens.toFixed(4);\n    }\n\n    function formatDuration(seconds) {\n      if (seconds \u003C 3600) return Math.round(seconds \u002F 60) + ' minutes';\n      if (seconds \u003C 86400) return Math.round(seconds \u002F 3600) + ' hours';\n      if (seconds \u003C 604800) return Math.round(seconds \u002F 86400) + ' days';\n      return Math.round(seconds \u002F 604800) + ' weeks';\n    }\n\n    function getApprovalStatusLabel(status) {\n      const labels = { 0: 'Empty', 1: 'Upcoming', 2: 'Active', 3: 'ApprovalExpected', 4: 'Approved', 5: 'Failed' };\n      return labels[Number(status)] || 'pending';\n    }\n\n    document.addEventListener('keydown', (e) => { if (e.key === 'Escape') closeCompare(); });\n    document.getElementById('compareModal').addEventListener('click', (e) => { if (e.target.id === 'compareModal') closeCompare(); });\n  \u003C\u002Fscript>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Key Features\n\n### Timeline Visualization\n- Vertical timeline with visual indicators\n- Color-coded status (current, upcoming, past)\n- Chronological ordering\n\n### Ruleset Comparison\n- Side-by-side parameter comparison\n- Highlights changed values\n- Compare any two rulesets\n\n### Detailed Information\n- Expandable details for each ruleset\n- All metadata fields displayed\n- Approval hook status\n\n## Data Sources\n\nThe timeline uses on-chain data via:\n- `currentRulesetOf()` - Active ruleset\n- `upcomingRulesetOf()` - Next ruleset\n- `latestQueuedRulesetOf()` - Queued with approval status\n- `allRulesetsOf()` - Historical rulesets\n\n## Related Skills\n\n- `\u002Fjb-explorer-ui` - Contract read\u002Fwrite interface\n- `\u002Fjb-event-explorer-ui` - Event history\n- `\u002Fjb-query` - Query project data via CLI\n","# Juicebox V5 Ruleset Timeline UI\n\nVisual timeline explorer for Juicebox project ruleset history. Shows the evolution of project configurations over time.\n\n## Uses Shared Components\n\nThis skill uses components from `\u002Fshared\u002F`:\n\n| Component | Purpose |\n|-----------|---------|\n| `styles.css` | Dark theme, cards, buttons, badges |\n| `wallet-utils.js` | Chain config, formatting utilities |\n| `chain-config.json` | RPC URLs, contract addresses |\n| `abis\u002FJBController.json` | Ruleset query functions |\n\n## Overview\n\nThis skill generates vanilla JS\u002FHTML interfaces for visualizing:\n- Complete ruleset history for any project\n- Timeline of configuration changes\n- Upcoming queued rulesets\n- Ruleset approval status\n- Parameter comparisons between rulesets\n\n## Ruleset Timeline UI Template\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n  \u003Cmeta charset=\"UTF-8\">\n  \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  \u003Ctitle>Juicebox Ruleset Timeline\u003C\u002Ftitle>\n  \u003Clink rel=\"stylesheet\" href=\"\u002Fshared\u002Fstyles.css\">\n  \u003Cstyle>\n    \u002F* Timeline-specific styles *\u002F\n    .project-header { display: none; }\n    .project-header.visible { display: block; }\n    .project-name { font-size: 1.5rem; font-weight: 600; color: var(--text-secondary); }\n    .project-id { color: var(--text-muted); margin-top: 5px; }\n\n    .timeline-container { position: relative; padding-left: 40px; }\n    .timeline-line { position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--jb-yellow) 0%, var(--border-color) 100%); }\n\n    .ruleset-card { position: relative; border-left: 3px solid var(--border-color); margin-bottom: var(--space-md); }\n    .ruleset-card.current { border-left-color: var(--success); background: linear-gradient(90deg, var(--success-bg) 0%, var(--bg-secondary) 20%); }\n    .ruleset-card.upcoming { border-left-color: var(--jb-yellow); background: linear-gradient(90deg, rgba(255,204,0,0.1) 0%, var(--bg-secondary) 20%); }\n    .ruleset-card.past { opacity: 0.7; }\n\n    .timeline-dot { position: absolute; left: -33px; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--border-color); border: 3px solid var(--bg-secondary); }\n    .ruleset-card.current .timeline-dot { background: var(--success); }\n    .ruleset-card.upcoming .timeline-dot { background: var(--jb-yellow); }\n\n    .ruleset-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-md); }\n    .ruleset-title { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); }\n    .ruleset-status { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }\n    .ruleset-status.current { background: var(--success-bg); color: var(--success); }\n    .ruleset-status.upcoming { background: rgba(255,204,0,0.2); color: var(--jb-yellow); }\n    .ruleset-status.past { background: rgba(136,136,136,0.2); color: var(--text-muted); }\n    .ruleset-status.pending { background: var(--warning-bg); color: var(--warning); }\n\n    .ruleset-dates { display: flex; gap: 20px; margin-bottom: var(--space-md); font-size: 13px; color: var(--text-muted); }\n    .params-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-md); }\n    .param-item { background: var(--bg-tertiary); padding: 12px; border-radius: var(--radius-md); }\n    .param-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }\n    .param-value { font-size: 14px; font-weight: 600; color: var(--text-secondary); }\n    .param-value.changed { color: var(--jb-yellow); }\n\n    .expand-btn { background: none; border: 1px solid var(--border-color); color: var(--text-muted); padding: 8px 16px; border-radius: 6px; cursor: pointer; margin-top: var(--space-md); font-size: 13px; }\n    .expand-btn:hover { border-color: var(--jb-yellow); color: var(--jb-yellow); }\n    .expanded-details { display: none; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border-color); }\n    .expanded-details.visible { display: block; }\n\n    .legend { display: flex; gap: 20px; margin-bottom: var(--space-md); font-size: 13px; }\n    .legend-item { display: flex; align-items: center; gap: 8px; }\n    .legend-dot { width: 12px; height: 12px; border-radius: 50%; }\n    .legend-dot.current { background: var(--success); }\n    .legend-dot.upcoming { background: var(--jb-yellow); }\n    .legend-dot.past { background: #666; }\n\n    .compare-btn { background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-primary); padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; margin-left: 10px; }\n    .compare-btn:hover { border-color: var(--jb-yellow); }\n\n    .compare-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 1000; padding: 20px; overflow-y: auto; }\n    .compare-modal.visible { display: flex; justify-content: center; align-items: flex-start; }\n    .compare-content { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 20px; max-width: 900px; width: 100%; margin-top: 40px; }\n    .compare-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-md); }\n    .close-btn { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }\n    .compare-table { width: 100%; border-collapse: collapse; }\n    .compare-table th, .compare-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border-color); }\n    .compare-table th { color: var(--text-muted); font-weight: 500; }\n    .compare-table td.changed { color: var(--jb-yellow); }\n  \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Cdiv class=\"container\">\n    \u003Ch1>Ruleset Timeline\u003C\u002Fh1>\n\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"row\">\n        \u003Cinput type=\"number\" id=\"projectId\" placeholder=\"Project ID\" min=\"1\" style=\"flex: 1;\">\n        \u003Cselect id=\"chainSelect\" style=\"width: 150px;\">\n          \u003Coption value=\"1\">Ethereum\u003C\u002Foption>\n          \u003Coption value=\"10\">Optimism\u003C\u002Foption>\n          \u003Coption value=\"8453\">Base\u003C\u002Foption>\n          \u003Coption value=\"42161\">Arbitrum\u003C\u002Foption>\n          \u003Coption value=\"11155111\">Sepolia\u003C\u002Foption>\n        \u003C\u002Fselect>\n        \u003Cbutton onclick=\"loadTimeline()\">Load Timeline\u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\n    \u003Cdiv class=\"card project-header\" id=\"projectHeader\">\n      \u003Cdiv class=\"project-name\" id=\"projectName\">-\u003C\u002Fdiv>\n      \u003Cdiv class=\"project-id\" id=\"projectIdDisplay\">-\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\n    \u003Cdiv class=\"legend\" id=\"legend\" style=\"display: none;\">\n      \u003Cdiv class=\"legend-item\">\u003Cdiv class=\"legend-dot current\">\u003C\u002Fdiv>\u003Cspan>Current Ruleset\u003C\u002Fspan>\u003C\u002Fdiv>\n      \u003Cdiv class=\"legend-item\">\u003Cdiv class=\"legend-dot upcoming\">\u003C\u002Fdiv>\u003Cspan>Queued\u002FUpcoming\u003C\u002Fspan>\u003C\u002Fdiv>\n      \u003Cdiv class=\"legend-item\">\u003Cdiv class=\"legend-dot past\">\u003C\u002Fdiv>\u003Cspan>Past Rulesets\u003C\u002Fspan>\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\n    \u003Cdiv id=\"timelineContainer\">\u003Cdiv class=\"loading\">Enter a project ID to load timeline\u003C\u002Fdiv>\u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\n  \u003Cdiv class=\"compare-modal\" id=\"compareModal\">\n    \u003Cdiv class=\"compare-content\">\n      \u003Cdiv class=\"compare-header\">\n        \u003Ch2>Compare Rulesets\u003C\u002Fh2>\n        \u003Cbutton class=\"close-btn\" onclick=\"closeCompare()\">&times;\u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n      \u003Cdiv id=\"compareBody\">\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\n  \u003Cscript type=\"module\">\n    import { createPublicClient, http, getContract, zeroAddress } from 'https:\u002F\u002Fesm.sh\u002Fviem';\n    import { CHAIN_CONFIGS, loadChainConfig } from '\u002Fshared\u002Fwallet-utils.js';\n\n    const CONTROLLER_ABI = [\n      { name: 'currentRulesetOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }], outputs: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }] },\n      { name: 'upcomingRulesetOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }], outputs: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }] },\n      { name: 'latestQueuedRulesetOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }], outputs: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'approvalStatus', type: 'uint256' }] },\n      { name: 'allRulesetsOf', type: 'function', stateMutability: 'view', inputs: [{ name: 'projectId', type: 'uint256' }, { name: 'startingId', type: 'uint256' }, { name: 'size', type: 'uint256' }], outputs: [{ name: '', type: 'tuple[]', components: [{ name: 'ruleset', type: 'tuple', components: [{ name: 'cycleNumber', type: 'uint256' }, { name: 'id', type: 'uint256' }, { name: 'basedOnId', type: 'uint256' }, { name: 'start', type: 'uint256' }, { name: 'duration', type: 'uint256' }, { name: 'weight', type: 'uint256' }, { name: 'weightCutPercent', type: 'uint256' }, { name: 'approvalHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }, { name: 'metadata', type: 'tuple', components: [{ name: 'reservedRate', type: 'uint256' }, { name: 'cashOutTaxRate', type: 'uint256' }, { name: 'baseCurrency', type: 'uint256' }, { name: 'pausePay', type: 'bool' }, { name: 'pauseCashOut', type: 'bool' }, { name: 'pauseTransfers', type: 'bool' }, { name: 'allowOwnerMinting', type: 'bool' }, { name: 'allowTerminalMigration', type: 'bool' }, { name: 'allowSetTerminals', type: 'bool' }, { name: 'allowSetController', type: 'bool' }, { name: 'allowAddAccountingContexts', type: 'bool' }, { name: 'allowAddPriceFeed', type: 'bool' }, { name: 'ownerMustSendPayouts', type: 'bool' }, { name: 'holdFees', type: 'bool' }, { name: 'useTotalSurplusForCashOuts', type: 'bool' }, { name: 'useDataHookForPay', type: 'bool' }, { name: 'useDataHookForCashOut', type: 'bool' }, { name: 'dataHook', type: 'address' }, { name: 'metadata', type: 'uint256' }] }] }] }\n    ];\n\n    let allRulesets = [];\n    let currentRulesetId = null;\n\n    \u002F\u002F Expose functions globally\n    window.loadTimeline = loadTimeline;\n    window.toggleDetails = toggleDetails;\n    window.compareRulesets = compareRulesets;\n    window.closeCompare = closeCompare;\n\n    async function loadTimeline() {\n      const projectId = document.getElementById('projectId').value;\n      const chainId = parseInt(document.getElementById('chainSelect').value);\n\n      if (!projectId) { alert('Please enter a project ID'); return; }\n\n      const container = document.getElementById('timelineContainer');\n      container.innerHTML = '\u003Cdiv class=\"loading\">\u003Cdiv class=\"spinner\">\u003C\u002Fdiv>Loading ruleset history...\u003C\u002Fdiv>';\n\n      try {\n        const config = await loadChainConfig();\n        const chainConfig = config.chains[chainId];\n        const chain = CHAIN_CONFIGS[chainId];\n\n        const client = createPublicClient({ chain, transport: http(chainConfig.rpc) });\n        const controllerAddress = chainConfig.contracts.JBController;\n\n        const controller = getContract({ address: controllerAddress, abi: CONTROLLER_ABI, client });\n\n        \u002F\u002F Load project name\n        document.getElementById('projectName').textContent = `Project ${projectId}`;\n        document.getElementById('projectIdDisplay').textContent = `ID: ${projectId} on ${chainConfig.name}`;\n        document.getElementById('projectHeader').classList.add('visible');\n\n        \u002F\u002F Load current ruleset\n        const [currentRuleset, currentMetadata] = await controller.read.currentRulesetOf([BigInt(projectId)]);\n        currentRulesetId = currentRuleset.id.toString();\n\n        \u002F\u002F Load upcoming and queued rulesets\n        let upcomingRuleset = null, queuedRuleset = null;\n        try {\n          const [upcoming, upcomingMeta] = await controller.read.upcomingRulesetOf([BigInt(projectId)]);\n          if (upcoming.id.toString() !== currentRulesetId) {\n            upcomingRuleset = { ruleset: upcoming, metadata: upcomingMeta, status: 'upcoming' };\n          }\n        } catch (e) {}\n\n        try {\n          const [queued, queuedMeta, approvalStatus] = await controller.read.latestQueuedRulesetOf([BigInt(projectId)]);\n          const queuedId = queued.id.toString();\n          if (queuedId !== currentRulesetId && (!upcomingRuleset || queuedId !== upcomingRuleset.ruleset.id.toString())) {\n            queuedRuleset = { ruleset: queued, metadata: queuedMeta, approvalStatus, status: 'pending' };\n          }\n        } catch (e) {}\n\n        \u002F\u002F Load historical rulesets\n        const historicalRulesets = await controller.read.allRulesetsOf([BigInt(projectId), 0n, 50n]);\n\n        \u002F\u002F Combine and sort\n        allRulesets = [];\n        if (queuedRuleset) allRulesets.push(queuedRuleset);\n        if (upcomingRuleset) allRulesets.push(upcomingRuleset);\n        allRulesets.push({ ruleset: currentRuleset, metadata: currentMetadata, status: 'current' });\n\n        for (const rs of historicalRulesets) {\n          if (rs.ruleset.id.toString() !== currentRulesetId) {\n            if (!allRulesets.find(r => r.ruleset.id.toString() === rs.ruleset.id.toString())) {\n              allRulesets.push({ ...rs, status: 'past' });\n            }\n          }\n        }\n\n        allRulesets.sort((a, b) => Number(b.ruleset.start) - Number(a.ruleset.start));\n        renderTimeline();\n        document.getElementById('legend').style.display = 'flex';\n\n      } catch (error) {\n        console.error(error);\n        container.innerHTML = `\u003Cdiv class=\"empty\">Error loading rulesets: ${error.message}\u003C\u002Fdiv>`;\n      }\n    }\n\n    function renderTimeline() {\n      const container = document.getElementById('timelineContainer');\n      if (allRulesets.length === 0) {\n        container.innerHTML = '\u003Cdiv class=\"empty\">No rulesets found for this project\u003C\u002Fdiv>';\n        return;\n      }\n\n      let html = '\u003Cdiv class=\"timeline-container\">\u003Cdiv class=\"timeline-line\">\u003C\u002Fdiv>';\n\n      allRulesets.forEach((rs, index) => {\n        const { ruleset, metadata, status, approvalStatus } = rs;\n        const startDate = new Date(Number(ruleset.start) * 1000);\n        const endDate = ruleset.duration > 0n ? new Date((Number(ruleset.start) + Number(ruleset.duration)) * 1000) : null;\n        const statusLabel = status === 'pending' ? getApprovalStatusLabel(approvalStatus) : status;\n\n        html += `\n          \u003Cdiv class=\"card ruleset-card ${status}\">\n            \u003Cdiv class=\"timeline-dot\">\u003C\u002Fdiv>\n            \u003Cdiv class=\"ruleset-header\">\n              \u003Cdiv>\n                \u003Cdiv class=\"ruleset-title\">Ruleset #${ruleset.cycleNumber.toString()}\n                  ${index \u003C allRulesets.length - 1 ? `\u003Cbutton class=\"compare-btn\" onclick=\"compareRulesets(${index}, ${index + 1})\">Compare with previous\u003C\u002Fbutton>` : ''}\n                \u003C\u002Fdiv>\n              \u003C\u002Fdiv>\n              \u003Cspan class=\"ruleset-status ${status}\">${statusLabel}\u003C\u002Fspan>\n            \u003C\u002Fdiv>\n            \u003Cdiv class=\"ruleset-dates\">\n              \u003Cspan>Start: ${startDate.toLocaleString()}\u003C\u002Fspan>\n              ${endDate ? `\u003Cspan>End: ${endDate.toLocaleString()}\u003C\u002Fspan>` : '\u003Cspan>Duration: Indefinite\u003C\u002Fspan>'}\n              ${ruleset.duration > 0n ? `\u003Cspan>Cycle: ${formatDuration(Number(ruleset.duration))}\u003C\u002Fspan>` : ''}\n            \u003C\u002Fdiv>\n            \u003Cdiv class=\"params-grid\">\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Weight\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${formatWeight(ruleset.weight)}\u003C\u002Fdiv>\u003C\u002Fdiv>\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Weight Cut %\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${(Number(ruleset.weightCutPercent) \u002F 10000000).toFixed(2)}%\u003C\u002Fdiv>\u003C\u002Fdiv>\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Reserved Rate\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${(Number(metadata.reservedRate) \u002F 100).toFixed(2)}%\u003C\u002Fdiv>\u003C\u002Fdiv>\n              \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Cash Out Tax\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${(Number(metadata.cashOutTaxRate) \u002F 100).toFixed(2)}%\u003C\u002Fdiv>\u003C\u002Fdiv>\n            \u003C\u002Fdiv>\n            \u003Cbutton class=\"expand-btn\" onclick=\"toggleDetails(${index})\">Show more details\u003C\u002Fbutton>\n            \u003Cdiv class=\"expanded-details\" id=\"details-${index}\">\n              \u003Cdiv class=\"params-grid\">\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Pause Pay\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.pausePay ? 'Yes' : 'No'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Pause Cash Out\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.pauseCashOut ? 'Yes' : 'No'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Owner Minting\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowOwnerMinting ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Terminal Migration\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowTerminalMigration ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Set Terminals\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowSetTerminals ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Set Controller\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.allowSetController ? 'Allowed' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Hold Fees\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.holdFees ? 'Yes' : 'No'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Data Hook (Pay)\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.useDataHookForPay ? 'Enabled' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                \u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Data Hook (Cash Out)\u003C\u002Fdiv>\u003Cdiv class=\"param-value\">${metadata.useDataHookForCashOut ? 'Enabled' : 'Disabled'}\u003C\u002Fdiv>\u003C\u002Fdiv>\n                ${metadata.dataHook !== zeroAddress ? `\u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Data Hook\u003C\u002Fdiv>\u003Cdiv class=\"param-value mono\" style=\"font-size: 11px;\">${metadata.dataHook}\u003C\u002Fdiv>\u003C\u002Fdiv>` : ''}\n                ${ruleset.approvalHook !== zeroAddress ? `\u003Cdiv class=\"param-item\">\u003Cdiv class=\"param-label\">Approval Hook\u003C\u002Fdiv>\u003Cdiv class=\"param-value mono\" style=\"font-size: 11px;\">${ruleset.approvalHook}\u003C\u002Fdiv>\u003C\u002Fdiv>` : ''}\n              \u003C\u002Fdiv>\n            \u003C\u002Fdiv>\n          \u003C\u002Fdiv>`;\n      });\n\n      html += '\u003C\u002Fdiv>';\n      container.innerHTML = html;\n    }\n\n    function toggleDetails(index) {\n      const details = document.getElementById(`details-${index}`);\n      details.classList.toggle('visible');\n      const btn = details.previousElementSibling;\n      btn.textContent = details.classList.contains('visible') ? 'Hide details' : 'Show more details';\n    }\n\n    function compareRulesets(index1, index2) {\n      const rs1 = allRulesets[index1], rs2 = allRulesets[index2];\n      const fields = [\n        { key: 'weight', label: 'Weight', format: formatWeight },\n        { key: 'weightCutPercent', label: 'Weight Cut %', format: v => (Number(v) \u002F 10000000).toFixed(2) + '%' },\n        { key: 'duration', label: 'Duration', format: v => Number(v) === 0 ? 'Indefinite' : formatDuration(Number(v)) },\n        { key: 'reservedRate', label: 'Reserved Rate', format: v => (Number(v) \u002F 100).toFixed(2) + '%', metadata: true },\n        { key: 'cashOutTaxRate', label: 'Cash Out Tax', format: v => (Number(v) \u002F 100).toFixed(2) + '%', metadata: true },\n        { key: 'pausePay', label: 'Pause Pay', format: v => v ? 'Yes' : 'No', metadata: true },\n        { key: 'pauseCashOut', label: 'Pause Cash Out', format: v => v ? 'Yes' : 'No', metadata: true },\n        { key: 'allowOwnerMinting', label: 'Owner Minting', format: v => v ? 'Allowed' : 'Disabled', metadata: true },\n      ];\n\n      let html = `\u003Ctable class=\"compare-table\">\u003Cthead>\u003Ctr>\u003Cth>Parameter\u003C\u002Fth>\u003Cth>Ruleset #${rs1.ruleset.cycleNumber.toString()}\u003C\u002Fth>\u003Cth>Ruleset #${rs2.ruleset.cycleNumber.toString()}\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>`;\n\n      fields.forEach(field => {\n        const val1 = field.metadata ? rs1.metadata[field.key] : rs1.ruleset[field.key];\n        const val2 = field.metadata ? rs2.metadata[field.key] : rs2.ruleset[field.key];\n        const f1 = field.format(val1), f2 = field.format(val2);\n        html += `\u003Ctr>\u003Ctd>${field.label}\u003C\u002Ftd>\u003Ctd class=\"${f1 !== f2 ? 'changed' : ''}\">${f1}\u003C\u002Ftd>\u003Ctd>${f2}\u003C\u002Ftd>\u003C\u002Ftr>`;\n      });\n\n      html += '\u003C\u002Ftbody>\u003C\u002Ftable>';\n      document.getElementById('compareBody').innerHTML = html;\n      document.getElementById('compareModal').classList.add('visible');\n    }\n\n    function closeCompare() { document.getElementById('compareModal').classList.remove('visible'); }\n\n    function formatWeight(weight) {\n      const tokens = Number(weight) \u002F 1e18;\n      if (tokens >= 1000000) return (tokens \u002F 1000000).toFixed(2) + 'M';\n      if (tokens >= 1000) return (tokens \u002F 1000).toFixed(2) + 'K';\n      return tokens.toFixed(4);\n    }\n\n    function formatDuration(seconds) {\n      if (seconds \u003C 3600) return Math.round(seconds \u002F 60) + ' minutes';\n      if (seconds \u003C 86400) return Math.round(seconds \u002F 3600) + ' hours';\n      if (seconds \u003C 604800) return Math.round(seconds \u002F 86400) + ' days';\n      return Math.round(seconds \u002F 604800) + ' weeks';\n    }\n\n    function getApprovalStatusLabel(status) {\n      const labels = { 0: 'Empty', 1: 'Upcoming', 2: 'Active', 3: 'ApprovalExpected', 4: 'Approved', 5: 'Failed' };\n      return labels[Number(status)] || 'pending';\n    }\n\n    document.addEventListener('keydown', (e) => { if (e.key === 'Escape') closeCompare(); });\n    document.getElementById('compareModal').addEventListener('click', (e) => { if (e.target.id === 'compareModal') closeCompare(); });\n  \u003C\u002Fscript>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Key Features\n\n### Timeline Visualization\n- Vertical timeline with visual indicators\n- Color-coded status (current, upcoming, past)\n- Chronological ordering\n\n### Ruleset Comparison\n- Side-by-side parameter comparison\n- Highlights changed values\n- Compare any two rulesets\n\n### Detailed Information\n- Expandable details for each ruleset\n- All metadata fields displayed\n- Approval hook status\n\n## Data Sources\n\nThe timeline uses on-chain data via:\n- `currentRulesetOf()` - Active ruleset\n- `upcomingRulesetOf()` - Next ruleset\n- `latestQueuedRulesetOf()` - Queued with approval status\n- `allRulesetsOf()` - Historical rulesets\n\n## Related Skills\n\n- `\u002Fjb-explorer-ui` - Contract read\u002Fwrite interface\n- `\u002Fjb-event-explorer-ui` - Event history\n- `\u002Fjb-query` - Query project data via CLI\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fmejango\u002Fjuicy\u002Fjb-ruleset-timeline-ui",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add kbarbel640-del\u002Fskills --skill jb-ruleset-timeline-ui",{"tool":46,"command":47},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill jb-ruleset-timeline-ui",{"tool":49,"command":50},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill jb-ruleset-timeline-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fmejango\u002Fjuicy\u002Fjb-ruleset-timeline-ui\u002FSKILL.md",true,[],[55,81,105,123,128,148],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":28},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":28},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[88,64,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,69,104],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":28},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[112,113,114,115,116,117,118,65,119,102,104,120,64,121,122],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":124,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":28},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[115,114,113,112,122,117,118,65,116,102,104,119,120,64,121],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":28},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[135,136,137,138,139,140,141,142,143,144,145,146,147],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":28},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[155,156,157,158,65,159,160,33,161,120,162,163,164,165,166,78,167,168,169],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]