Logo von Share Usage

Share Usage

OrganisationBeliebt
NeuroAIHub
share-usage

Generate and share anonymized skill usage statistics to help the community understand which skills are most valuable

Übersicht

HerausgeberNeuroAIHub
RepositoryBrainPilot
Skill-Nameshare-usage
Sterne
1.1K
Forks
74
Mitgelieferte Dateien
Nur Anweisungen
LizenzAGPL-3.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von NeuroAIHub auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Share Usage in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/01_Meta-Skills/share-usage
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git /tmp/BrainPilot
mkdir -p .claude/skills
cp -r /tmp/BrainPilot/packages/skills/skills/01_Meta-Skills/share-usage .claude/skills/share-usage
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Share Usage in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Share Usage automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Share Usage nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Share Skill Usage Statistics

This skill helps you generate and share anonymized statistics about your skill usage with the community. This helps maintainers understand which skills are most valuable and guides future development.

When to Use

Use this skill when you want to:

  • Share your experience with the skill repository
  • Help the community understand which skills are most useful
  • Contribute usage data to improve skill development priorities
  • Celebrate your research productivity with the community

What Information Will Be Shared

Before generating the report, you should understand exactly what will be shared:

✅ Information That WILL Be Shared

  1. Skill usage counts - How many times you used each skill
  2. Skill names - Which skills from this repository you used
  3. Time period - The date range of your usage data
  4. General statistics - Total skill calls, unique skills used
  5. Optional context - Your research domain (if you choose to provide it)

❌ Information That Will NOT Be Shared

  1. Your identity - No usernames, emails, or identifying information
  2. Project details - No file paths, code, or project names
  3. Conversation content - No actual research questions or discussions
  4. Timestamps - Only aggregated date ranges, not specific times
  5. System information - No machine names, IPs, or system details
  6. Other tools - Only skills from this repository are counted

Privacy Notice

This skill generates a completely anonymized report. The report contains ONLY:

  • Skill names and usage counts
  • Date range (e.g., "Last 30 days")
  • Optional research domain tag (e.g., "fMRI analysis", "EEG research")

No personally identifiable information, project details, or conversation content is included.

How to Use

When the user invokes this skill (e.g., "share my skill usage" or "generate usage report"), follow these steps:

Step 1: Confirm Privacy Understanding

First, present the privacy information to the user and confirm they understand:

Say to the user:

"I'll generate an anonymized report of your skill usage from this repository. The report will include:

✅ What WILL be included:

  • Skill names and usage counts
  • Date range (e.g., "2024-01-01 to 2024-03-01")
  • Optional research domain tag (if you provide it)
  • Optional comments (if you provide them)

❌ What will NOT be included:

  • Your identity (no usernames, emails, names)
  • Project details (no file paths, code, project names)
  • Conversation content (no research questions or discussions)
  • Specific timestamps (only date ranges)
  • System information (no machine names, IPs)
  • Skills from other repositories

The report is completely anonymized and sharing is optional. Shall I proceed?"

Wait for user confirmation before proceeding.

Step 2: Analyze Claude Code Logs

Implementation Steps

When this skill is invoked, follow these steps:

Step 1: Analyze Claude Code Logs

Create a Python script inline to analyze logs:

python
import json
import re
from pathlib import Path
from collections import Counter
from datetime import datetime

def analyze_usage(claude_dir="~/.claude", days=None):
    """Extract skill usage from Claude Code logs."""
    claude_dir = Path(claude_dir).expanduser()

    all_skills = []
    all_timestamps = []

    # Parse history.jsonl
    history_path = claude_dir / "history.jsonl"
    if history_path.exists():
        with open(history_path, 'r', encoding='utf-8', errors='ignore') as f:
            for line in f:
                if '"name":"Skill"' in line or '"name": "Skill"' in line:
                    match = re.search(r'"skill":\s*"([^"]+)"', line)
                    if match:
                        skill_name = match.group(1)
                        # Only count skills from this repository
                        if skill_name.startswith('awesome-cognitive-and-neuroscience-skills:'):
                            clean_name = skill_name.replace('awesome-cognitive-and-neuroscience-skills:', '')
                            all_skills.append(clean_name)

                # Extract timestamp
                timestamp_match = re.search(r'"timestamp":(\d+)', line)
                if timestamp_match:
                    ts = int(timestamp_match.group(1)) / 1000
                    all_timestamps.append(datetime.fromtimestamp(ts))

    # Parse debug files
    debug_dir = claude_dir / "debug"
    if debug_dir.exists():
        for debug_file in debug_dir.glob("*.txt"):
            if days:
                file_age = (datetime.now().timestamp() - debug_file.stat().st_mtime) / 86400
                if file_age > days:
                    continue

            with open(debug_file, 'r', encoding='utf-8', errors='ignore') as f:
                content = f.read()
                matches = re.finditer(r'"name":\s*"Skill".*?"skill":\s*"([^"]+)"', content, re.DOTALL)
                for match in matches:
                    skill_name = match.group(1)
                    if skill_name.startswith('awesome-cognitive-and-neuroscience-skills:'):
                        clean_name = skill_name.replace('awesome-cognitive-and-neuroscience-skills:', '')
                        all_skills.append(clean_name)

    if not all_skills:
        return None

    # Calculate statistics
    skill_counts = Counter(all_skills)

    if all_timestamps:
        min_date = min(all_timestamps)
        max_date = max(all_timestamps)
        date_range = f"{min_date.strftime('%Y-%m-%d')} to {max_date.strftime('%Y-%m-%d')}"
        days_span = (max_date - min_date).days
    else:
        date_range = "Unknown"
        days_span = None

    return {
        'skills': skill_counts,
        'total_calls': len(all_skills),
        'unique_skills': len(skill_counts),
        'date_range': date_range,
        'days_span': days_span,
        'most_used': skill_counts.most_common(1)[0] if skill_counts else None
    }

Step 3: Ask User for Optional Information

Use the AskUserQuestion tool to gather optional information:

Question 1: Research Domain

  • Header: "Domain"
  • Question: "What research domain do you work in? (This helps others find relevant skills)"
  • Options:
    • "fMRI analysis"
    • "EEG/MEG research"
    • "Cognitive modeling"
    • "Behavioral experiments"
    • "Other (specify in notes)"

Question 2: Comments

  • Header: "Experience"
  • Question: "Would you like to add comments about your experience with these skills?"
  • Options:
    • "Yes, I'll add comments"
    • "No comments"

Question 3: Sharing Preference

  • Header: "Action"
  • Question: "What would you like to do with the report?"
  • Options:
    • "Share to GitHub Discussions (Recommended)"
    • "Save locally only"
    • "Just preview, don't save"

If user chose "Yes" for comments, ask them to provide their comments in a follow-up message.

Step 4: Generate Report

Step 4: Generate Report

Create the markdown report with this exact format:

markdown
# Skill Usage Report

**Time Period**: [date_range] ([days_span] days)
**Research Domain**: [user_provided or "Not specified"]

## Summary
- Total skill calls: [total_calls]
- Unique skills used: [unique_skills]
- Most used skill: [skill_name] ([count] times)

## Top 10 Skills
1. [skill]: [count] uses
2. [skill]: [count] uses
...

## All Skills Used
- [skill]: [count]
- [skill]: [count]
...

## User Comments
[user_comments or "No comments provided"]

---
*This report was generated using the `share-usage` skill. All data is anonymized.*

Step 5: Check GitHub CLI Prerequisites

Before offering to share, check if gh CLI is available:

bash
gh auth status

If gh is not installed or not authenticated, inform the user:

To share usage reports directly, you need the GitHub CLI. Install it from https://cli.github.com/ and run gh auth login. I can save the report locally for you to post manually, or you can set up gh and run this skill again.

Step 6: Save and Present

  1. Save the report to the current working directory as skill-usage-report-[YYYYMMDD].md

  2. Display the report to the user in full

  3. Provide next steps based on user's preference:

    • If "Share to GitHub Discussions" (and gh is available):

      Get repository and category IDs:

      bash
      gh api graphql -f query='
      {
        repository(owner: "HaoxuanLiTHUAI", name: "awesome_cognitive_and_neuroscience_skills") {
          id
          discussionCategories(first: 10) {
            nodes {
              id
              name
            }
          }
        }
      }'

      Create the discussion:

      bash
      gh api graphql -f query='
      mutation {
        createDiscussion(input: {
          repositoryId: "REPO_ID",
          categoryId: "SHOW_AND_TELL_CATEGORY_ID",
          title: "Skill Usage Report - [Research Domain]",
          body: "REPORT_CONTENT_HERE"
        }) {
          discussion {
            url
          }
        }
      }'

      On success:

      ✅ Report saved to: skill-usage-report-[date].md
      🎉 Shared to GitHub Discussions: [URL]
      
      Thank you for contributing to the community!

      On failure:

      ✅ Report saved to: skill-usage-report-[date].md
      ❌ Failed to post to GitHub Discussions
      
      You can manually share at:
      https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/discussions/new?category=show-and-tell
    • If "Save locally only":

      ✅ Report saved to: skill-usage-report-[date].md
      
      Your report is saved locally. Sharing is completely optional - you can share it later if you'd like!
    • If "Just preview, don't save":

      📊 Here's your usage report (not saved):
      
      [Display report]
      
      If you'd like to save or share this later, just run this skill again!

Step 7: Handle Edge Cases

If no skill usage found:

❌ No skill usage found from this repository.

This could mean:
- You haven't used any skills from awesome-cognitive-and-neuroscience-skills yet
- The Claude Code logs don't contain skill usage data
- The log format may have changed

Try using some skills first, then run this report again!

If Claude directory not found:

❌ Could not find Claude Code directory at ~/.claude/

Please check your Claude Code installation or specify a different directory.

Example Report

Here's what a typical usage report looks like:

markdown
# Skill Usage Report

**Time Period**: 2024-01-15 to 2024-03-03 (48 days)
**Research Domain**: fMRI analysis

## Summary
- Total skill calls: 47
- Unique skills used: 12
- Most used skill: fmri-glm-analysis-guide (15 times)

## Top 10 Skills
1. fmri-glm-analysis-guide: 15 uses
2. fmri-preprocessing-pipeline-guide: 8 uses
3. cogsci-statistics: 6 uses
4. neuroimaging-power-guide: 4 uses
5. fmri-task-design-guide: 3 uses
6. cogsci-visualization: 3 uses
7. research-literacy: 2 uses
8. cognitive-paradigm-design: 2 uses
9. brain-connectivity-modeler: 2 uses
10. contribute-skill: 1 use

## All Skills Used
- brain-connectivity-modeler: 2
- cognitive-paradigm-design: 2
- cogsci-statistics: 6
- cogsci-visualization: 3
- contribute-skill: 1
- fmri-glm-analysis-guide: 15
- fmri-preprocessing-pipeline-guide: 8
- fmri-task-design-guide: 3
- neuroimaging-power-guide: 4
- paper-to-skill: 1
- research-literacy: 2
- verify-skill: 1

## User Comments
These skills have been incredibly helpful for my fMRI analysis pipeline. The GLM analysis guide saved me hours of debugging by helping me understand proper contrast specification. The preprocessing guide helped me make informed decisions about motion correction parameters.

---
*This report was generated using the `share-usage` skill. All data is anonymized.*

Important Notes

  • Privacy First: This skill respects user privacy completely. All data is anonymized.
  • Review Before Sharing: Users can review and edit the report before sharing.
  • Sharing is Optional: Sharing is completely voluntary - users can keep reports private.
  • Repository-Specific: Only skills from this repository are counted (excludes superpowers, scientific-writer, etc.).
  • Community Value: Reports help maintainers prioritize skill development and help others discover useful skills.
  • No Sensitive Data: No personal information, project details, or conversation content is included.

Häufig gestellte Fragen

Was macht der KI-Skill Share Usage?

Generate and share anonymized skill usage statistics to help the community understand which skills are most valuable

Warum Share Usage in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Share Usage besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Share Usage in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/01_Meta-Skills/share-usage ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Share Usage nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Share Usage verwenden?

So viele Sie möchten. In TypingMind können Sie Share Usage mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Share Usage kostenlos?

Ja. Der Skill wird von NeuroAIHub auf GitHub unter der Lizenz AGPL-3.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇