feature-forge
Generate and engineer features from raw tabular data for machine learning.
Skill by tezansahu
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tezansahu-feature-forge
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/feature-forge
What's inside
- Skill name
feature-forge- Description
- Generate and engineer features from raw tabular data for machine learning. Trigger when the user asks to "engineer features", "create features", "feature engineering", "generate features", "transform features", "feature extraction", "build feature matrix", or mentions lag features, rolling averages, interaction terms, target encoding, cyclical encoding, text features, or date features. Also triggers on "improve model with better features", "what features should I create", or "feature ideas for this data". Supports numeric, categorical, datetime, and text feature engineering patterns.
- License
- GPL-3.0
- Instructions
- 148 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Feature Forge
Systematically generate high-value features from raw data to improve model performance.
---
## Workflow
```
1. Profile input data (column types, cardinality, patterns)
2. Apply feature engineering recipes by column type
3. Generate feature importance preview
4. Output feature matrix + documentation
```
---
## Step 1 -- Profile for Feature Opportunities
For each column, identify:
- Type: numeric, categorical, datetime, text, boolean, ID (skip IDs)
- Cardinality: low (<15), medium (15-100), high (>100)
- Distribution: skewed, normal, uniform, sparse
- Relationships: known domain relationships between columns
---
## Step 2 -- Feature Engineering Recipes
### Numeric Features
| Recipe | When to apply | Code pattern |
|---|---|---|
| **Log transform** | Right-skewed (skew > 1) | `np.log1p(col)` |
| **Square root** | Count data | `np.sqrt(col)` |
| **Binning** | Non-linear relationship with target | `pd.cut(col, bins=5, labels=False)` |
| **Polynomial** | Suspected non-linear effects | `col**2`, `col**3` |
| **Interaction terms** | Two features that multiply meaningfully | `col_a * col_b` |
| **Ratio features** | Meaningful business ratios | `col_a / (col_b + 1e-8)` |
| **Clipping** | Outlier-sensitive models | `col.clip(lower=q01, upper=q99)` |
| **Rank transform** | Highly skewed, ordinal matters | `col.rank(pct=True)` |
| **Standard scaling** | For distance-based models | `(col - mean) / std` |
### Categorical Features
| Recipe | When to apply | Code pattern |
|---|---|---|
| **One-hot encoding** | Low cardinality (<=15) | `pd.get_dummies(col)` |
| **Ordinal encoding** | Ordered categories (size: S<M<L) | Manual mapping dict |
| **Target encoding** | High cardinality + target available | `col.map(target_means)` with smoothing |
| **Frequency encoding** | High cardinality, count matters | `col.map(col.value_counts(normalize=True))` |
| **Binary encoding** | Medium cardinality (15-100) | `category_encoders.BinaryEncoder` |
| **Hash encoding** | Very high cardinality (>1000) | `category_encoders.HashingEncoder(n_components=8)` |
| **Rare category grouping** | Categories with <1% frequency | Group into "Other" |
### DateTime Features
| Recipe | Code pattern |
|---|---|
| **Basic extraction** | `year, month, day, hour, minute, dayofweek, quarter` |
| **Cyclical encoding (hour)** | `sin(2*pi*hour/24)`, `cos(2*pi*hour/24)` |
| **Cyclical encoding (month)** | `sin(2*pi*month/12)`, `cos(2*pi*month/12)` |
| **Cyclical encoding (dayofweek)** | `sin(2*pi*dow/7)`, `cos(2*pi*dow/7)` |
| **Is weekend** | `dayofweek >= 5` |
| **Is business hour** | `9 <= hour <= 17` |
| **Days since reference** | `(date - reference_date).dt.days` |
| **Time since last event** | `date.diff()` |
| **Part of month** | `day <= 10: "start"`, `day <= 20: "mid"`, else `"end"` |
### Time Series / Sequential Features
| Recipe | When to apply | Code pattern |
|---|---|---|
| **Lag features** | Temporal dependence | `col.shift(1)`, `col.shift(7)` |
| **Rolling mean** | Smooth trends | `col.rolling(window=7).mean()` |
| **Rolling std** | Volatility | `col.rolling(window=7).std()` |
| **Expanding mean** | Cumulative behavior | `col.expanding().mean()` |
| **Diff features** | Rate of change | `col.diff(1)` |
| **Pct change** | Relative rate of change | `col.pct_change(1)` |
| **EWM** | Recent-weighted trends | `col.ewm(span=7).mean()` |
### Text Features
| Recipe | When to apply | Code pattern |
|---|---|---|
| **Char count** | Always for text | `col.str.len()` |
| **Word count** | Always for text | `col.str.split().str.len()` |
| **Sentence count** | Long text | `col.str.count(r'[.!?]+')` |
| **Contains keyword** | Domain-specific keywords | `col.str.contains('keyword', case=False)` |
| **TF-IDF** | Text as primary input | `TfidfVectorizer(max_features=100)` |
| **Embeddings** | Semantic understanding needed | Use sentence-transformers |
---
## Step 3 -- Feature Importance Preview
After generating features, provide a quick importance check:
```python
from sklearn.ensemble import RandomForestClassifier # or Regressor
from sklearn.inspection import permutation_importance
model = RandomForestClassifier(n_estimators=100, random_state=42)
model.fit(X_train, y_train)
# Built-in importance
importance = pd.Series(model.feature_importances_, index=X_train.columns)
print(importance.sort_values(ascending=False).head(20))
```
Drop features with near-zero importance to keep the feature matrix manageable.
---
## Step 4 -- Output
Save:
- **Feature matrix**: `features.parquet` (or `.csv`)
- **Feature documentation**: `feature_definitions.md`From tezansahu/ai-garage, GPL-3.0.
More from tezansahu/ai-garage
- 0.605score
insight-extractor
tezansahu
Extract key, actionable insights from knowledge resources and save as structured markdown files in the knowledge/insights/ folder.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
generate-structurizr-c4-diagram
tezansahu
Generate C4 software-architecture diagrams in Structurizr DSL from a codebase, folder(s), a description, docs, or an existing diagram, then render them in the…
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
arxiv-submission
tezansahu
Submit a paper to arXiv as a preprint.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
evaluate-skill-with-copilot-sdk
tezansahu
Evaluate a skill with the GitHub Copilot SDK — measure its triggering accuracy and compare its output quality against a no-skill baseline.
SkillBFreshness: B★ 16Claude Code +9 - 0.580score
skill-creator
tezansahu
Create new skills, modify and improve existing skills, and measure skill performance.
SkillBFreshness: B★ 16Claude Code +9 - 0.575score
tdd
tezansahu
Test-driven development.
SkillBFreshness: B★ 16Claude Code +9 - 0.572score
to-spec
tezansahu
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
SkillBFreshness: B★ 16Claude Code +9 - 0.572score
to-tickets
tezansahu
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker —…
SkillBFreshness: B★ 16Claude Code +9 - 0.564score
implement
tezansahu
Implement a piece of work based on a spec or set of tickets.
SkillBFreshness: B★ 16Claude Code +9 - 0.555score
stats-advisor
tezansahu
Recommend and execute the right statistical test for a given question, with plain-English interpretation.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
eda-autopilot
tezansahu
Perform comprehensive Exploratory Data Analysis on any tabular dataset (CSV, Parquet, Excel, or database table).
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
llm-app-builder
tezansahu
Scaffold and build LLM-powered applications -- RAG pipelines, agentic workflows, structured output chains, tool-calling agents, and chatbot interfaces.
SkillCFreshness: C★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 8
- Open issues
- 1
- Last commit (this folder)
- Jul 7, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/tezansahu/ai-garage
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tezansahu
- 0.605score
generate-structurizr-c4-diagram
tezansahu
Generate C4 software-architecture diagrams in Structurizr DSL from a codebase, folder(s), a description, docs, or an existing diagram, then render them in the…
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
insight-extractor
tezansahu
Extract key, actionable insights from knowledge resources and save as structured markdown files in the knowledge/insights/ folder.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
arxiv-submission
tezansahu
Submit a paper to arXiv as a preprint.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
evaluate-skill-with-copilot-sdk
tezansahu
Evaluate a skill with the GitHub Copilot SDK — measure its triggering accuracy and compare its output quality against a no-skill baseline.
SkillBFreshness: B★ 16Claude Code +9 - 0.580score
skill-creator
tezansahu
Create new skills, modify and improve existing skills, and measure skill performance.
SkillBFreshness: B★ 16Claude Code +9 - 0.575score
tdd
tezansahu
Test-driven development.
SkillBFreshness: B★ 16Claude Code +9
Cite this page
feature-forge skill. Agent Mart. https://agentmart.dev/skills/tezansahu-feature-forge (last updated 2026-10-24)