data-training-manager
БесплатноБез исполняемых скриптовНе проверенManage AI training data, monitor content freshness, detect repetition, and update training samples for continuous learning. Use when managing training data…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Data Training Manager
Continuous learning system for managing AI training data, monitoring content freshness, and preventing repetitive outputs.
Overview
Maintain high-quality AI outputs through:
- Training Data Management - Add, update, remove training samples
- Freshness Monitoring - Detect stale and repetitive content
- Quality Scoring - Track performance of training samples
- Continuous Learning - Automatically update based on engagement
- Trend Analysis - Identify patterns in successful content
Quick Start
1. Check Training Data Freshness
from src.freshness_monitor import FreshnessMonitor
monitor = FreshnessMonitor()
# Check if generated content is fresh
score = monitor.check_freshness(
generated_text="gm to data contributors who deserve equity...",
threshold=0.7 # 70% uniqueness required
)
if score < 0.7:
print("⚠️ Content too similar to existing samples")
else:
print("✅ Content is fresh!")
2. Add New Training Sample
from src.continuous_learning import ContinuousLearningSystem
learning = ContinuousLearningSystem()
# Add high-performing tweet
learning.add_sample(
text="gm to everyone building on @base 💙",
type="gm",
engagement={"likes": 150, "retweets": 20},
features={"has_emoji": True, "mentions": ["@base"]}
)
3. Manage Training Data
# Check freshness of all samples
python scripts/manage_training.py check
# View statistics
python scripts/manage_training.py stats
# Add new sample
python scripts/manage_training.py add \
--text "your tweet text" \
--type gm \
--engagement '{"likes":100}'
Training Data Structure
Sample Format
Each training sample contains:
{
"id": "sample_001",
"text": "The actual content...",
"type": "gm|insight|casual|reply",
"topic": "data_ownership|x402|base|milady|...",
"style": "short|medium|long",
"created_at": "2026-01-07T10:00:00Z",
"engagement": {
"likes": 150,
"retweets": 30,
"replies": 10,
"impressions": 5000
},
"features": {
"has_emoji": true,
"emoji_list": ["🎀", "🧹"],
"has_ascii_art": false,
"has_thread": false,
"has_mentions": true,
"mention_list": ["@codatta_io"],
"has_hashtags": false,
"tone": "critical|supportive|casual|...",
"word_count": 25,
"char_count": 120
},
"freshness_score": 0.85,
"quality_score": 0.92,
"last_used": "2026-01-05T14:30:00Z",
"use_count": 3,
"performance_trend": "improving|stable|declining"
}
Training Files
| File | Purpose | Sample Count |
|---|---|---|
gm_posts.json |
GM post variations | 50+ |
codatta_insights.json |
Industry insights | 60+ |
casual_posts.json |
Personal/casual content | 30+ |
interactions.json |
Reply examples | 40+ |
archived_samples.json |
Low-performing samples | Unlimited |
Freshness Monitoring
How It Works
Freshness score (0.0-1.0) measures uniqueness:
def calculate_freshness(new_text, existing_samples):
"""
Returns:
1.0 = Completely unique
0.8 = Similar but fresh
0.5 = Moderately repetitive
0.0 = Identical to existing
"""
scores = []
for sample in existing_samples:
# 1. Jaccard similarity (word overlap)
jaccard = jaccard_similarity(new_text, sample['text'])
# 2. Phrase similarity (3-gram overlap)
phrase = phrase_similarity(new_text, sample['text'])
# 3. Semantic similarity (embedding distance)
semantic = semantic_similarity(new_text, sample['text'])
# Combined score (weighted)
combined = (jaccard * 0.3 + phrase * 0.4 + semantic * 0.3)
scores.append(combined)
# Return inverse of max similarity
return 1.0 - max(scores)
Usage
monitor = FreshnessMonitor()
# Check single text
score = monitor.check_freshness(
"gm to data contributors 🎀",
data_type="gm",
threshold=0.7
)
# Batch check
texts = [
"gm everyone",
"good morning frens",
"gm to builders on base"
]
results = monitor.batch_check(texts, threshold=0.7)
# Returns: [{"text": "...", "score": 0.85, "is_fresh": True}, ...]
Freshness Thresholds
FRESHNESS_THRESHOLDS = {
"gm": 0.65, # GM posts can be more repetitive
"insight": 0.80, # Insights must be unique
"casual": 0.70, # Casual moderate uniqueness
"reply": 0.75 # Replies should be fresh
}
Continuous Learning System
Auto-Update from Performance
learning = ContinuousLearningSystem()
# Add successful tweet to training data
learning.learn_from_performance(
tweet_id="1234567890",
text="gm to data contributors who deserve equity 🎀",
engagement={"likes": 200, "retweets": 40}
)
# System automatically:
# 1. Checks freshness
# 2. Evaluates quality
# 3. Adds to appropriate training file
# 4. Archives low-performers if needed
Performance Tracking
`
Установить data-training-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBash(python:*)Вложенные файлы
FAQ
Что делает скилл data-training-manager?
Manage AI training data, monitor content freshness, detect repetition, and update training samples for continuous learning. Use when managing training data, checking content quality, updating AI models, or preventing repetitive content.
Как установить скилл data-training-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-training-manager запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic