Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/thelobbi/claude/member-importgit clone --depth 1 https://github.com/TheLobbi/claudeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/thelobbi/claude/member-import)<a href="https://agentmods.dev/commands/thelobbi/claude/member-import"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/member-import.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.05162 |
| Opus 5 | $0.00008 | $0.02581 |
| Sonnet 5 | $0.00003 | $0.01032 |
| Haiku 4.5 | $0.00002 | $0.00516 |
Grade A, and why
member-import scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
response = requests.post( How it starts
The opening of the file, as written. The whole thing — 715 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bulk Member Import
Import multiple members from CSV or Excel files into a Lobbi organization with comprehensive validation, duplicate detection, batch processing, and detailed error reporting.
Usage
/member-import <file-path> --org=<org-id> [options]
Description
This command imports member data in bulk by:
- Parsing CSV or Excel files with flexible column mapping
- Validating all member data against schema rules
- Detecting and handling duplicates
- Creating Keycloak users with proper authentication
- Inserting member records into MongoDB
- Processing in configurable batches for performance
- Generating comprehensive import reports
- Sending welcome emails to new members
Prerequisites
Required Services:
- Keycloak running and accessible
- MongoDB connection available
- Redis for job queue (optional, for async processing)
- SMTP configured for welcome emails
Environment Variables:
DATABASE_URL=mongodb://admin:admin@localhost:27017/member_db?authSource=admin
KEYCLOAK_URL=http://localhost:8080
KEYCLOAK_REALM=alpha-members
KEYCLOAK_CLIENT_ID=member-api
KEYCLOAK_CLIENT_SECRET=<secret>
SMTP_HOST=smtp.sendgrid.net
SMTP_PORT=587
SMTP_USER=apikey
SMTP_PASSWORD=<api-key>
REDIS_URL=redis://localhost:6379
File Format Requirements:
CSV/Excel files must include these columns (case-insensitive):
- Required: email, firstName, lastName
- Optional: phone, dateOfBirth, membershipType, status, joinDate, address, city, state, zipCode, country
Example CSV:
email,firstName,lastName,phone,membershipType,status
[email protected],John,Doe,555-1234,premium,active
[email protected],Jane,Smith,555-5678,basic,active
Step-by-Step Instructions
1. Validate Input File
# Check file exists
test -f <file-path> || { echo "ERROR: File not found"; exit 1; }
# Detect file type
FILE_EXT="${FILE_PATH##*.}"
case "$FILE_EXT" in
csv) echo "CSV file detected" ;;
xlsx|xls) echo "Excel file detected" ;;
*) echo "ERROR: Unsupported file type. Use CSV or Excel"; exit 1 ;;
esac
# Preview first 5 rows
if [ "$FILE_EXT" = "csv" ]; then
head -6 <file-path> | column -t -s,
else
# Use xlsx2csv or similar for Excel
python3 << 'EOF'
import pandas as pd
df = pd.read_excel("<file-path>", nrows=5)
print(df.to_string())
EOF
fi
# Count total rows
if [ "$FILE_EXT" = "csv" ]; then
TOTAL_ROWS=$(($(wc -l < <file-path>) - 1))
else
TOTAL_ROWS=$(python3 -c "import pandas as pd; print(len(pd.read_excel('<file-path>')))")
fi
echo "Total members to import: $TOTAL_ROWS"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 715 lines · 16 tokens per session scan A bced9da7f4c3
member-import is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 5,162 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other commands, from other repositories
portaljs-check-data-quality
Audit a local or remote tabular file (CSV/TSV) for common data quality issues. Read-only. Use only when the user explicitly asks to check or audit data quality.
spreadsheet-audit
Perform a 6-step audit of an Excel spreadsheet for formula correctness, formatting consistency, data integrity, boss-auditable simplicity, and spec compliance. Uses the excel-screenshot MCP server tools — no Excel installation required.
sheet-report
Analyze a Numbers or Excel file and generate a report with charts.
numbers-to-excel
Convert a Numbers document to Excel.
meeting
Investor meeting note processing with web research and CSV tracking.
batch-fill
Fill a form once per row of a CSV with Emboss.