模极社社区 - 制造业全产业链交流平台

    • 登录
    • 版块
    • 最新
    • 话题
    • 热门
    • 用户
    • 群组

    Publishing SearXNG Skill to ClawdHub

    社区公告
    1
    1
    0
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • S
      system 2 最后由 编辑

      <h2>Publishing SearXNG Skill to ClawdHub</h2>

      <h3>✅ Pre-Publication Verification</h3>

      <p>All files present:</p>
      <ul>

      SKILL.md (v1.0.1)</li>
      README.md</li>

      LICENSE (MIT)</li>

      CHANGELOG.md</li>

      scripts/searxng.py</li>

      .clawdhub/metadata.json</li>

      </ul>

      <p>Security:</p>
      <ul>

      No hardcoded private URLs</li>

      Generic default (
      http://localhost:8080)</li>
      Fully configurable via SEARXNG_URL</li>

      </ul>

      <p>Author:</p>
      <ul>

      Updated to: Avinash Venkatswamy</li>

      </ul>

      <h3>📤 Publishing Steps</h3>

      <h4>Step 1: Login to ClawdHub</h4>

      <pre><code>
      clawdhub login
      </code></pre>

      <p>This will open your browser. Complete the authentication flow.</p>

      <h4>Step 2: Verify Authentication</h4>

      <pre><code>
      clawdhub whoami
      </code></pre>

      <p>Should return your user info if logged in successfully.</p>

      <h4>Step 3: Publish the Skill</h4>

      <p>From the workspace root:</p>

      <pre><code>
      cd ~/clawd
      clawdhub publish skills/searxng
      </code></pre>

      <p>Or from the skill directory:</p>

      <pre><code>
      cd ~/clawd/skills/searxng
      clawdhub publish .
      </code></pre>

      <h4>Step 4: Verify Publication</h4>

      <p>After publishing, you can:</p>

      <p><strong>Search for your skill:</strong></p>
      <pre><code>
      clawdhub search searxng
      </code></pre>

      <p><strong>View on ClawdHub:</strong></p>
      <p>Visit https://clawdhub.com/skills/searxng</p>

      <h3>📋 What Gets Published</h3>

      <p>The CLI will upload:</p>
      <ul>
      <li>SKILL.md</li>
      <li>README.md</li>
      <li>LICENSE</li>
      <li>CHANGELOG.md</li>
      <li>scripts/ directory</li>
      <li>.clawdhub/metadata.json</li>
      </ul>

      <p>It will NOT upload:</p>
      <ul>
      <li>PUBLISH.md (this file)</li>
      <li>PUBLISHING_CHECKLIST.md</li>
      <li>Any .git files</li>
      <li>Any node_modules or temporary files</li>
      </ul>

      <h3>🔧 If Publishing Fails</h3>

      <h4>Common Issues</h4>

      <ol>
      <li><strong>Not logged in:</strong></li>
      <pre><code>
      clawdhub login
      </code></pre>
      </ol>

      <ol>
      <li><strong>Invalid skill structure:</strong></li>
      <ul>
      <li>Verify SKILL.md has all required fields</li>
      <li>Check .clawdhub/metadata.json is valid JSON</li>
      </ul>
      </ol>

      <ol>
      <li><strong>Duplicate slug:</strong></li>
      <ul>
      <li>If "searxng" is taken, you'll need a different name</li>
      <li>Update <code>name</code> in SKILL.md and metadata.json</li>
      </ul>
      </ol>

      <ol>
      <li><strong>Network issues:</strong></li>
      <ul>
      <li>Check your internet connection</li>
      <li>Try again: <code>clawdhub publish skills/searxng</code></li>
      </ul>
      </ol>

      <h4>Get Help</h4>

      <pre><code>
      clawdhub publish --help
      </code></pre>

      <h3>📊 After Publishing</h3>

      <h4>Update Notifications</h4>

      <p>If you make changes later:</p>

      <ol>
      <li>Update version in SKILL.md and metadata.json</li>
      <li>Add entry to CHANGELOG.md</li>
      <li>Run: <code>clawdhub publish skills/searxng</code></li>
      </ol>

      <h4>Manage Your Skill</h4>

      <p><strong>Delete (soft-delete):</strong></p>
      <pre><code>
      clawdhub delete searxng
      </code></pre>

      <p><strong>Undelete:</strong></p>
      <pre><code>
      clawdhub undelete searxng
      </code></pre>

      <h3>🎉 Success!</h3>

      <p>Once published, users can install with:</p>

      <pre><code>
      clawdhub install searxng
      </code></pre>

      <p>Your skill will appear:</p>
      <ul>
      <li>On ClawdHub website: https://clawdhub.com</li>
      <li>In search results: <code>clawdhub search privacy</code></li>
      <li>In explore: <code>clawdhub explore</code></li>
      </ul>

      <hr>

      <p><strong>Ready to publish?</strong> Run <code>clawdhub login</code> and then <code>clawdhub publish skills/searxng</code>!</p>

      <hr>

      <p>本文由模极社发布</p>

      <hr>
      <h4>🔗 你可能还感兴趣</h4>
      <ul>
      <li><a href="/t/4563/4563">escape-string-regexp</a></li>
      <li><a href="/t/4797/4797">长春模具产业集群 — 中国汽车模具发源地</a></li>
      <li><a href="/t/3019/3019">发泡成型模具设计要点(一)</a></li>
      </ul>

      <hr>
      <p><strong>相关推荐:</strong></p>
      <ul>
      <li><a href="https://www.mj7.cn/t/topic">注塑产品报价不会算?完整成本计算模板来了(附公式+案例)</a></li>
      <li><a href="https://www.mj7.cn/t/pp">PP塑料:性能参数与注塑成型指南</a></li>
      <li><a href="https://www.mj7.cn/t/pa">PA塑料:性能参数与注塑成型指南</a></li>
      </ul>

      <hr>
      <p>新手建议收藏,老手欢迎指点。</p>

      1 条回复 最后回复 回复 引用 0
      • First post
        Last post
      Powered by NodeBB | Contributors