managing-users-and-accounts
Skill2 starsChanged 7 months agoApache-2.0View on GitHub
Broad customer and account management workflow for the Newline MCP server. Use when you need to find customers, assess KYC and status, review pools and products, inspect existing synthetic accounts, or create a new synthetic account. Prefer this skill for multi-step setup and account administration tasks across Claude Code, Codex, Pi, and other Agent Skills compatible harnesses.
In this repository9 other files it gives its agents.
- account-reconciliationSkill
- create-transferSkill
- customer-overviewSkill
- investigate-transferSkill
- making-paymentsSkill
- new-account-setupSkill
- payment-operationsSkill
- return-resolutionSkill
- transaction-reportingSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use this broader skill when the task spans discovery, eligibility checks, and account creation.
- Distinctive: line 17
Use sandbox credentials for testing.
- Distinctive: line 18
Treat KYC and locked status as blockers for funding and transfer workflows.
- Distinctive: line 22
If the user gives a UID directly:
- Distinctive: line 46
Before opening or using accounts, verify:
- Distinctive: line 51
If these checks fail, stop and explain the blocker before attempting account creation or transfers.
- Distinctive: line 60
If you already know an account UID, inspect it directly:
- Distinctive: line 89
Use these tools when you need to determine program placement or eligibility:
- Very specific: line 97
Use the customer's existing pool_uids when possible.
- Distinctive: line 148
Only after user confirmation:
- Distinctive: line 169
If needed, verify with:
- Distinctive: line 182
Delete accounts only with explicit confirmation:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Managing Users and Accounts
A general-purpose workflow for customer lookup and synthetic account setup.
Use this broader skill when the task spans discovery, eligibility checks, and account creation.
For narrow tasks, the more specific skills customer-overview and new-account-setup
may be faster.
Guardrails
- Resolve people and accounts to UIDs before taking action.
- Confirm with the user before calling
create-synthetic-accountordelete-synthetic-accounts. - Use sandbox credentials for testing.
- Treat KYC and locked status as blockers for funding and transfer workflows.
Step 1 — Find the Customer
If the user gives a UID directly:
get-customer uid=<customer_uid>Otherwise search first:
list-customers (filter by first_name, last_name, email, external_uid, or pool_uid)Record:
uidexternal_uidcustomer_typestatuskyc_statusandkyc_status_reasonslocked/ lock-related fields if presentpool_uidstotal_balance
Step 2 — Check Whether the Customer Is Eligible for Account Activity
Before opening or using accounts, verify:
- customer
statusis active kyc_statusis approved or otherwise acceptable for the requested workflow- the customer is not locked
If these checks fail, stop and explain the blocker before attempting account creation or transfers.
Step 3 — Review Existing Synthetic Accounts
get-synthetic-accountsIdentify the customer's accounts by matching pool membership, naming, or known UIDs. If you already know an account UID, inspect it directly:
get-synthetic-account uid=<synthetic_account_uid>For each relevant account, note:
uid,name,statussynthetic_account_type_uidsynthetic_account_categorypool_uidnet_usd_balance,net_usd_pending_balance,net_usd_available_balancerouting_number,account_number_last_four- payment rail blocks such as
ach,wire, orinstant_payment
Step 4 — Review Available Account Types
get-synthetic-account-typesChoose the type whose uid, name, description, and synthetic_account_category
best match the user's intent.
Examples:
- internal operating or customer account → general category
- linked external bank destination → external checking or savings category
Step 5 — Review Pools and Products
Use these tools when you need to determine program placement or eligibility:
list-pools
list-products
list-customer-productsUse the customer's existing pool_uids when possible. If multiple pools fit,
ask the user which program or product the account should belong to.
Step 6 — Gather Account Creation Inputs
For a new synthetic account, collect:
namepool_uidsynthetic_account_type_uid- optional
external_uid - optional
routing_numberandaccount_number - optional payment-rail details
Payment-rail blocks supported by this server:
ACH external account
ach: {
account_type,
counterparty_name
}Wire external account
wire: {
counterparty_name
}Instant payment external account
instant_payment: {
counterparty_name,
counterparty_address: {
street_number,
street1,
street2,
city,
state,
postal_code,
country
}
}Step 7 — Create the Synthetic Account
Only after user confirmation:
create-synthetic-account
name
pool_uid
synthetic_account_type_uid
external_uid (optional)
routing_number (optional)
account_number (optional)
ach | wire | instant_payment (optional)Step 8 — Verify the Result
After creation, report:
- new account
uid status- selected type and pool
- whether ACH / wire / instant payment details were attached
If needed, verify with:
get-synthetic-account uid=<new_account_uid>Step 9 — Optional Cleanup or Follow-On Work
You may next branch into:
new-account-setupfor a tighter creation workflowcustomer-overviewfor a full customer summarycreate-transferormaking-paymentsonce accounts are ready
Delete accounts only with explicit confirmation:
delete-synthetic-accounts uid=<synthetic_account_uid>Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

