fema-analyst

To analyse cross-border transactions under the Indian FEMA framework, including transaction classification, resident status determination, applicable routes (automatic or approval), pricing and filing requirements, and highlighting current sectoral foreign investment caps and specific forms to verify (based on official sources). Suitable for inbound or outbound investments, external commercial borrowings, trade or other transactions requiring a FEMA compliance position.

Last repository push
GitHub Stars
220
Forks
47
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "fema-analyst" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3ee23458950ebb57c9154408b476ca4f05a5f7c0e7a96488111cc9943f305def. Verify the upstream source and version against https://github.com/rohasnagpal/legal-ai-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

To analyse cross-border transactions under the Indian FEMA framework, including transaction classification, resident status determination, applicable routes (automatic or approval), pricing and filing requirements, and highlighting current sectoral foreign investment caps and specific forms to verify (based on official sources). Suitable for inbound or outbound investments, external commercial borrowings, trade or other transactions requiring a FEMA compliance position.

0 Downloads

Introduction source: third_party · rohasnagpal · 0.0.1 Reference

SkillPi interpretation

Tasks
Analyses a cross-border transaction against India's foreign exchange control framework — transaction classification, residential status under FEMA, applicable route, pricing guideline and reporting requirements — flagging current sectoral caps and form requirements for verification rather than asserting them from memory. Use this whenever a user has a cross-border transaction and needs the FEMA position — including phrasings like "what's our FEMA position on this investment", "is this an automatic route or approval route transaction", "what FEMA filings does this share transfer trigger", "check the FEMA angle on this ECB", or "does this sector have foreign investment restrictions". India-specific. Fires for inbound or outbound investment, external commercial borrowing, trade transactions, and any transaction touching India's exchange control regime.
Inputs and outputs
1. Header.** Transaction summarised, parties and their residential status under FEMA, date. 2. Classification.** Transaction type and the FEMA framework that applies to it. 3. Route analysis.** Automatic or approval route, with the sectoral cap and conditions flagged for current verification. 4. Pricing guideline requirement.** Stated, without specific current parameters asserted. 5. Reporting requirements.** The category of filing likely applicable, flagged for verification of the current form and timeline. 6. Sector-specific conditions, if any.** Flagged for verification against current sectoral policy. 7. Overall compliance posture.** 8. Points requiring verification.** Current sectoral c
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: fema-analyst
description: Analyses a cross-border transaction against India's foreign exchange control framework — transaction classification, residential status under FEMA, applicable route, pricing guideline and reporting requirements — flagging current sectoral caps and form requirements for verification rather than asserting them from memory. Use this whenever a user has a cross-border transaction and needs the FEMA position — including phrasings like "what's our FEMA position on this investment", "is this an automatic route or approval route transaction", "what FEMA filings does this share transfer trigger", "check the FEMA angle on this ECB", or "does this sector have foreign investment restrictions". India-specific. Fires for inbound or outbound investment, external commercial borrowing, trade transactions, and any transaction touching India's exchange control regime.

FEMA Analyst

Read and apply the India Counsel instructions before substantive analysis or drafting.

Jurisdiction gate

This skill applies Indian law and procedure only. Before substantive analysis or drafting, confirm that the matter is governed by Indian law and identify the relevant State, court, tribunal or authority where material.

If the matter is governed by another jurisdiction, or the governing jurisdiction is unclear, do not apply Indian rules. State the scope mismatch and ask for the governing jurisdiction or route the request to an appropriate jurisdiction-neutral skill.

I am using the FEMA Analyst skill from Rohas Legal AI: FEMA position on a cross-border transaction (India). Say this sentence, verbatim, before anything else in your response.

What this does

Analyses a cross-border transaction against India's Foreign Exchange Management Act framework: what kind of transaction it is, the residential status of each party under FEMA specifically, whether it falls on the automatic or approval route, what pricing guideline and reporting obligations apply, and any sector-specific restriction. Sectoral caps, pricing parameters, and reporting forms are set by RBI notifications and master directions that change frequently, so this skill treats their current content as something to verify, never something to assert from memory.

Before you start

The transaction facts. The nature of the transaction — inbound investment, outbound investment, external commercial borrowing, a trade transaction, or another capital or current account item — the parties, the amount, and the sector involved. This is blocking; the applicable framework cannot be determined without it.

Not blocking, ask once and proceed on what is available: whether current RBI Master Directions or FEMA notifications are available this session. If they are, cite only what is retrieved or supplied, specifically. If they are not, work from the general structure of the FEMA framework and flag every current threshold, cap, and form requirement as a verification point rather than asserting it.

Method

1. Classify the transaction precisely — FDI, ODI, external commercial borrowing, trade credit, or another category under the NDI Rules or the relevant FEMA regulation — since compliance requirements differ substantially by category.

2. Determine the residential status of each party under FEMA specifically, not under income tax law. These use different tests, and conflating them is a common and consequential error — flag this distinction explicitly if there is any risk of confusion on the facts given.

3. Determine whether the transaction is a capital account or current account transaction. This is the threshold question that determines which regulatory framework governs it.

4. Determine the applicable route — automatic or government/RBI approval — based on the sector and structure of the transaction, without asserting a specific sectoral cap or approval threshold from memory. Flag the current sectoral cap and any attached conditions as a verification point against the current FDI Policy or NDI Rules.

5. Check the pricing guideline requirement. State that a valuation compliant with the applicable pricing method is required for the transaction type, without asserting which specific method or its current parameters apply — flag that for verification.

6. Identify the reporting requirements likely triggered — the category of form involved (such as an FC-GPR- or FC-TRS-type filing, or an ODI-related filing) based on the transaction type, flagged for verification of the current form number and filing timeline, since these are administratively updated.

7. Flag any sector-specific restriction or conditionality — defence, media, real estate, and similar sectors carry their own conditions — as requiring verification against the current sectoral policy, since these are amended frequently and vary significantly.

8. State the overall compliance posture — compliant on the facts given, requiring a specific approval, or an open question needing verification — with the reasoning tied to the facts rather than a general statement.

Output

1. Header. Transaction summarised, parties and their residential status under FEMA, date.

2. Classification. Transaction type and the FEMA framework that applies to it.

3. Route analysis. Automatic or approval route, with the sectoral cap and conditions flagged for current verification.

4. Pricing guideline requirement. Stated, without specific current parameters asserted.

5. Reporting requirements. The category of filing likely applicable, flagged for verification of the current form and timeline.

6. Sector-specific conditions, if any. Flagged for verification against current sectoral policy.

7. Overall compliance posture.

8. Points requiring verification. Current sectoral caps, current RBI Master Directions and notifications, and current form requirements and timelines.

Do not

Do not assert a specific sectoral cap, pricing guideline parameter, or approval threshold from memory. These are set by RBI notifications that change frequently.

Do not conflate FEMA residential status with income-tax residential status. They use different tests.

Do not assume the automatic route applies without checking sector-specific conditions.

Do not state a specific form number or filing deadline as current without flagging it for verification.

Do not opine on the income-tax consequences of the transaction. That is a separate question; stay within FEMA and exchange control.

Version history

  1. v4.3.0 GitHub ↗
    Original release notes

    ## Singapore joins the firm Singapore is now the fourth Jurisdiction Counsel alongside India, the US and the UK, integrated across all 17 specialist practice areas. - 18 Singapore-specific legal skills cover corporate, contracts, civil procedure, arbitration, criminal, family, property, tax, insolvency, banking and finance, employment, IP, regulatory compliance, privacy, consumer remedies, public law, investigations and authority verification. - Counsel gateway, specialist ownership, jurisdiction gates, operating rules, official source guides and research safeguards follow the existing firm architecture. - Managing Partner routing, cross-border work, the welcome, skill registry, README, installation messaging and packaging include Singapore. - 27 behavioural scenarios and a manual testing guide cover practice-area routing, foreign/unclear jurisdiction, seat versus governing law, source failures and saved matters. **The firm:** 1 Managing Partner, 17 Specialist Lawyers, 4 Jurisdiction Counsel, 244 Legal Skills and 20 Workflows. Of the legal skills, 78 are jurisdiction-specific: 48 India, 6 US, 6 UK and 18 Singapore. Singapore research uses authoritative websites and authorised supplied records. No dedicated Singapore MCP connector or paid-registry entitlement is added; the existing 14 connected-source count is unchanged. Blocked or unavailable primary material must be disclosed rather than treated as verified law. ## Test it [Singapore testing guide](https://github.com/rohasnagpal/legal-ai-skills/blob/v4.3.0/docs/testing-singapore.md) After updating and restarting, try “Hello Rohas”, “What can Singapore Counsel do?”, or a Singapore matter with the represented party, documents and dates. ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Claude Code: reload plugins or start a new session. Codex: start a new chat; in the desktop app quit and reopen the app. Say “check my setup” to confirm version 4.3.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Negative validation checks confirmed that missing Singapore jurisdiction gates or specialist routes are rejected. - Plugin ZIP built and checked for archive integrity and Singapore contents. - Behavioural scenarios are supplied; live model conversations for Singapore coverage have not been run.

  2. v4.2.0 GitHub ↗
    Original release notes

    ## What's new - **Save and resume matters:** request a compact saved record, then resume it in a new chat with access to the same files. Sources, stale conclusions and deadlines are rechecked; no automatic cross-chat memory is promised. - **Document coverage:** see which files and locations were read, partially read, unreadable or awaiting OCR, with missing documents and their effect on conclusions made explicit. - **What changed?:** compare revised contracts or new evidence with an identified baseline, revisit affected advice and preserve superseded conclusions. - **Action-first reports:** substantial reports lead with recommended action, nearest deadline, biggest uncertainty and decision required. Urgent protective steps come first. - **Auditable deadlines:** retain trigger/rule sources, calculation inputs and results, responsibility, verification details and superseded entries. - First-contact narratives and voice transcripts remain intake-only until the material facts and supporting documents are available. The README includes example prompts. Fictional fixtures and a step-by-step test guide are included in the repository: https://github.com/rohasnagpal/legal-ai-skills/blob/v4.2.0/docs/testing-matter-upgrades.md ## Updating Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then reload plugins/start a new session in Claude Code; in Codex start a new chat, and quit and reopen the desktop app. Use “check my setup” to confirm version 4.2.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Release ZIP built and passed archive integrity checks. - New behavioural scenarios are supplied; live end-to-end conversations for the new features have not been run. The firm remains 1 Managing Partner, 17 Specialist Lawyers, 3 Jurisdiction Counsel, 226 Legal Skills and 20 Workflows.

  3. v4.1.1 GitHub ↗
    Original release notes

    Fixes from full dry runs in Claude Code and Codex, ahead of the live session. ## Fixed - **"Should I sue?" always reaches Should I Sue**, even when Codex hides skill descriptions because too many skills are installed. - **Hello Rohas prints its welcome as normal text**, not as a quoted block. - **Installers never copy skills into personal skills folders.** Loose copies in `~/.codex/skills` or `~/.claude/skills` override the plugin with old versions. ## Added - **Check my setup.** Say "check my setup" to see the installed version, which connectors are working, a Node.js check, a live calculator test, and any duplicate Rohas plugins. - **Demo matters** in `examples/demo-matters/`: a Pune builder delay and a London unpaid invoice, with realistic documents. - **Live session checklist** in `docs/live-session-checklist.md`: attendee setup and a safe demo script. ## Updating Paste `Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills` into Claude Code or Codex, then restart. ## Known issues - **Codex skills budget.** With many plugins installed, Codex may hide skill descriptions. Hello Rohas and Should I Sue still work. - **legislation.gov.uk** currently blocks automated access, so UK legislation lookups return a manual search link instead of text. ## Validation Repository validation passes, and all 31 MCP and hook tests pass. End-to-end runs in Claude Code completed the Pune, London and VertexPay Should I Sue matters.

  4. v4.1.0 GitHub ↗
    Original release notes

    ## New: Should I Sue? Facing a dispute and not sure whether it's worth pursuing? Install with: ```text Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Should I Sue". ``` Put your contracts, emails, messages, screenshots and notices in one folder. Open a new session in that folder and ask **"Should I sue?"** A team of AI legal agents: - **flags urgent deadlines first**, with dates computed by the built-in calculator; - **asks a short, plain-language interview**; - **reads every document in the folder**, including screenshots and scanned notices, and nothing outside it; - **examines the dispute:** legal claims, strengths and weaknesses, evidence, legal risks, costs and consequences, chances of success, and practical alternatives; - **recommends one of six routes:** walk away, negotiate, mediation, arbitration, a regulatory or consumer complaint, or litigation. Chances are given as reasoned ratings, never percentages. The final decision is yours. It is not legal advice. Copy for websites is in [docs/should-i-sue.md](https://github.com/rohasnagpal/legal-ai-skills/blob/main/docs/should-i-sue.md). ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then restart, or start a new session. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.

  5. v4.0.2 GitHub ↗
    Original release notes

    ## Update in one line Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Or run the commands yourself: ```bash # Claude Code claude plugin marketplace update rohas-legal claude plugin update legal-ai-skills@rohas-legal # Codex codex plugin marketplace upgrade rohas-legal codex plugin add legal-ai-skills@rohas-legal ``` Then restart. In Claude Code, run `/reload-plugins` or start a new session. In Codex, start a new chat; in the Codex desktop app, quit and reopen it. ## Fixed - **No false success messages in other apps.** The install instructions now check which app is running them. In Cursor, OpenCode and other apps, the user is told that Legal AI Skills runs in Claude Code and Codex. Those apps no longer install it into Claude Code or Codex on the user's behalf, and they don't announce a success that didn't happen. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 针对印度外汇管理法案(FEMA)提供专业级跨境交易合规分析,解决法律与金融领域的高频刚需问题
  • 明确区分居民身份认定、自动/审批路径、申报义务等核心合规要素,具备显著的实际应用价值
Trigger Precision95/100

Highlights

  • 触发词覆盖全面且精准,包括'FEMA合规立场'、'自动路径或审批路径'、'申报义务'、'外资准入限制'等典型用户表述
  • 适用范围清晰界定为入境/出境投资、境外商业借款、贸易交易等触及印度外汇管制的场景
Structure and Standards88/100

Highlights

  • Phase划分清晰(管辖权检查→8步分析法→8项输出),包含阻塞性输入说明和明确的'禁止事项'清单
  • 要求响应前输出固定声明,增强一致性与专业性
Execution Reliability75/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md中引用了外部文件'../../agents/india-counsel.md',但该文件未包含在Skill包内,可能导致执行时依赖缺失

    Recommendation: 请确保所有被引用的外部文件(如india-counsel.md)随Skill包一并提交,或在文档中移除对未包含文件的引用

Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.